dumb preprocessor tricks

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

 



dumb question:

is there any difference between #defining __KERNEL__ and MODULE in the
source code or defining them with a -D gcc argument?

is one way prefered over another?

pete

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D

Attachment: pgp00121.pgp
Description: PGP signature


[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