All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] What do "#if 1" and "#if 0" do?
Date: Wed, 28 Mar 2007 07:47:20 +0000	[thread overview]
Message-ID: <20070328074720.GA32097@traven> (raw)
In-Reply-To: <e57070790703280024t4df3694cu8babcd12053779eb@mail.gmail.com>

El Wed, Mar 28, 2007 at 07:24:35AM +0000 Guanqun Lu ha dit:

> I found the webpage:
> http://fsdev.net/wiki/index.php?title=If_0_or_if_1_directives
> And I'm just wondering what do the two directives do.

my interpretation is that they are used for activating (#if 1) and
deactivating (#if 0) code.

m.

-- 
              Insanity: doing the same thing over and over
                again and expecting different results
                            (Albert Einstein)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

  reply	other threads:[~2007-03-28  7:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-28  7:24 [KJ] What do "#if 1" and "#if 0" do? Guanqun Lu
2007-03-28  7:47 ` Matthias Kaehlcke [this message]
2007-03-28  7:54 ` Yoann Padioleau
2007-03-28  8:28 ` Guanqun Lu
2007-03-28 12:50 ` Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070328074720.GA32097@traven \
    --to=matthias.kaehlcke@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.