diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-11-19 12:24:39 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-11-19 12:24:39 +0100 |
commit | d10ad8ffac60c5c05393a22990c6f051ab877ee9 (patch) | |
tree | 8d9c83cf107c091b79fb6155ab53df11a06def12 /gcc/ada/expect.c | |
parent | 32310747977c02f6b9f7a97ca06cc8b77b3bbd52 (diff) | |
download | gcc-d10ad8ffac60c5c05393a22990c6f051ab877ee9.zip gcc-d10ad8ffac60c5c05393a22990c6f051ab877ee9.tar.gz gcc-d10ad8ffac60c5c05393a22990c6f051ab877ee9.tar.bz2 |
expect.c: Define __unix__ when __APPLE__ is defined.
* expect.c: Define __unix__ when __APPLE__ is defined.
* Makefile.in: Inform the value of the variable GMEM_LIB in the
Darwin-specific section.
* lang-specs.h: Change the placement of the %1 marker.
From-SVN: r90908
Diffstat (limited to 'gcc/ada/expect.c')
-rw-r--r-- | gcc/ada/expect.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/expect.c b/gcc/ada/expect.c index 9c76ba5..3566358 100644 --- a/gcc/ada/expect.c +++ b/gcc/ada/expect.c @@ -53,6 +53,11 @@ #define __unix__ #endif +#ifdef __APPLE__ +/* Work around the fact that gcc/cpp does not define "__unix__" on Darwin. */ +#define __unix__ +#endif + #ifdef _WIN32 #include <windows.h> |