diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2005-01-12 16:34:31 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2005-01-12 16:34:31 +0000 |
commit | df7ffd2999fc203da08777f00138f03667b61c2a (patch) | |
tree | c53022bbc1dfaf137972505f31b624701667c4d2 /Src | |
parent | 21c0b276135a7fd58b25abc61fcdcb171bec2fcd (diff) | |
download | zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.gz zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.xz zsh-df7ffd2999fc203da08777f00138f03667b61c2a.zip |
20701: fix compilation on Mac OS X: define is __APPLE__, not APPLE
Diffstat (limited to 'Src')
-rw-r--r-- | Src/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/system.h b/Src/system.h index 1c1de8da3..ccb125088 100644 --- a/Src/system.h +++ b/Src/system.h @@ -681,7 +681,7 @@ extern short ospeed; # define IS_DIRSEP(c) ((c) == '/') #endif -#if defined(__GNUC__) && !defined(APPLE) +#if defined(__GNUC__) && !defined(__APPLE__) /* Does the OS X port of gcc still gag on __attribute__? */ #define UNUSED(x) x __attribute__((__unused__)) #else |