Re: dumb preprocessor tricks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Peter Jay Salzman <p@dirac.org> wrote:
> dumb question:
> 
> is there any difference between #defining __KERNEL__ and MODULE in
> the
> source code or defining them with a -D gcc argument?
> 

No, unless your second question is answered definitively by someone
with a persuasive argument.


> is one way prefered over another?

Not that I am aware of.

Harmony,

--Christine


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux