Created
August 13, 2011 15:28
-
-
Save smcl/1143952 to your computer and use it in GitHub Desktop.
Where I'm adding my malicious preprocessor macro in Emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Deleted GPL header - again hopefully RMS won't attack me with a Katana */ | |
/* | |
* Define symbols to identify the version of Unix this is. | |
* Define all the symbols that apply correctly. | |
*/ | |
#define BSD4_2 | |
/* BSD4_3 and BSD4_4 are already defined in sys/param.h */ | |
#define BSD_SYSTEM | |
// Sean's changes here | |
/* More specific than the above two. We cannot use __APPLE__ as this | |
may not be defined on non-OSX Darwin, and we cannot define DARWIN | |
here because Panther and lower CoreFoundation.h uses DARWIN to | |
distinguish OS X from pure Darwin. */ | |
#define DARWIN_OS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment