Date: Wed, 28 Mar 2001 12:09:40 -0800 From: Kris Kennaway <kris@obsecurity.org> To: j mckitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-questions@freebsd.org Subject: Re: what is '#ifdef 0' for? Message-ID: <20010328120940.A8375@xor.obsecurity.org> In-Reply-To: <20010328185908.A75658@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Wed, Mar 28, 2001 at 06:59:08PM %2B0100 References: <20010328185908.A75658@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 28, 2001 at 06:59:08PM +0100, j mckitrick wrote: >=20 > #ifdef 0 > . > . > . > #endif >=20 > Since it always evaluates to false, is this a way of 'commenting' out code > so it is not used? I guess the only reason not to insert /* and then */ = is > to prevent nested comments, correct? Yes. Kris --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6wkUEWry0BWjoQKURAjivAJwO/Q2yDp98FZ3GcDNMj8MYGUgm9QCdHvGD t26XYb93qlTmAI8na/DDmpE= =orRp -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010328120940.A8375>