1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 05:24:23 +01:00

20701: fix compilation on Mac OS X: define is __APPLE__, not APPLE

This commit is contained in:
Oliver Kiddle 2005-01-12 16:34:31 +00:00
parent 21c0b27613
commit df7ffd2999
2 changed files with 9 additions and 5 deletions

@ -1,3 +1,7 @@
2005-01-12 Oliver Kiddle <opk@zsh.org>
* 20701: Src/system.h: fix compilation on Mac OS X
2005-01-12 Peter Stephenson <pws@csr.com>
* users/8354: Doc/Zsh/options.yo: with glob_complete, completing
@ -19,7 +23,7 @@
* 20692: Test/ztst.zsh: having POSIXLY_CORRECT set makes
GNU tail report warning with -<NUM>.
2004-01-11 Clint Adams <clint@zsh.org>
2005-01-11 Clint Adams <clint@zsh.org>
* unposted: config.guess, config.sub: update to 2004-11-12 and
2004-11-30, respectively.
@ -46,7 +50,7 @@
creating an unnecessary multio if a later redirect re-opens that
descriptor.
2004-01-10 Clint Adams <clint@zsh.org>
2005-01-10 Clint Adams <clint@zsh.org>
* 20665: Completion/Unix/Command/_gnome-gv,
Completion/Unix/Type/_pspdf: improve completion for
@ -61,7 +65,7 @@
* 20662: Completion/X/Command/_nedit: update for nedit 5.5
2004-01-09 Clint Adams <clint@zsh.org>
2005-01-09 Clint Adams <clint@zsh.org>
* 20655: Completion/Debian/Type/_deb_packages:
_deb_packages fix from Karl Chen.
@ -71,7 +75,7 @@
Completion/Debian/Type/_deb_packages: completion for wajig, and
dpkg/deb_packages improvements from Karl Chen.
2004-01-07 Clint Adams <clint@zsh.org>
2005-01-07 Clint Adams <clint@zsh.org>
* 20650: Completion/Unix/Command/_mencal:
completion for mencal.

@ -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