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/system.h | |
| parent | users/8354: Document limitation of glob_complete and matching control (diff) | |
| download | zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.gz zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.bz2 zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.lz zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.xz zsh-df7ffd2999fc203da08777f00138f03667b61c2a.tar.zst zsh-df7ffd2999fc203da08777f00138f03667b61c2a.zip | |
20701: fix compilation on Mac OS X: define is __APPLE__, not APPLE
Diffstat (limited to 'Src/system.h')
| -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 |
