From owner-freebsd-questions Wed Mar 28 12: 9:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-46.dsl.lsan03.pacbell.net [63.207.60.46]) by hub.freebsd.org (Postfix) with ESMTP id 0442237B71C for ; Wed, 28 Mar 2001 12:09:41 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9C5FF66E9C; Wed, 28 Mar 2001 12:09:40 -0800 (PST) Date: Wed, 28 Mar 2001 12:09:40 -0800 From: Kris Kennaway To: j mckitrick Cc: freebsd-questions@freebsd.org Subject: Re: what is '#ifdef 0' for? Message-ID: <20010328120940.A8375@xor.obsecurity.org> References: <20010328185908.A75658@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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