about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-01-12 16:34:31 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-01-12 16:34:31 +0000
commitdf7ffd2999fc203da08777f00138f03667b61c2a (patch)
treec53022bbc1dfaf137972505f31b624701667c4d2 /Src
parent21c0b276135a7fd58b25abc61fcdcb171bec2fcd (diff)
downloadzsh-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.h2
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