Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 01:41:14 +0100
From:      "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
To:        Aleksander Rozman - Andy <andy@kksonline.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Question about some defines
Message-ID:  <5.1.0.14.0.20020125011502.01b6d698@mail.drwilco.net>
In-Reply-To: <5.0.2.1.0.20020124224137.0289e0f8@213.161.0.10>
References:  <20020124205357.A528@lpt.ens.fr> <20020124192136.GG87583@dan.emsphone.com> <20020124184506.B87867@lpt.ens.fr> <20020124192136.GG87583@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 22:45 24-1-2002 +0100, Aleksander Rozman - Andy wrote:
>Hi !
>
>I came accross some weird define in mbuf.h
>
>#if 0
>#define MT_SOOPTS   10
>#endif
>
>When will this define work? I need this value in my code, and I can't make 
>it work. For now I used value 10 directly, but this shouldn't be done this 
>way. Is this type of define, defining value that we shouldn't use or why 
>is this writen in such way.
>
>Andy

Stuff between #if 0 and #endif is ignored by the compiler, since 0 equals 
false.

         Doc





>**************************************************************************
>*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
>*     andy@kksonline.com     * Sentinel, BH 90210, True's Trooper,       *
>*    andy@atechnet.dhs.org   * Heller's Angel, Questie, Legacy, PO5,     *
>* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender    *
>*     ICQ-UIC: 4911125       *********************************************
>*     PGP key available      *    http://www.atechnet.dhs.org/~andy/     *
>**************************************************************************
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020125011502.01b6d698>