diff options
author | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | 2000-05-16 20:53:49 +0000 |
---|---|---|
committer | Franz Sirl <sirl@gcc.gnu.org> | 2000-05-16 20:53:49 +0000 |
commit | 5a1b894d603ef6f071c58025e25570efce0d9e5a (patch) | |
tree | 5fcbb8bb5f3c09005bbdc9b4b154ec79a6f72d9f /gcc | |
parent | 3faf9b6b1f51f20ba9b4a6e8779f87508a2bb07f (diff) | |
download | gcc-5a1b894d603ef6f071c58025e25570efce0d9e5a.zip gcc-5a1b894d603ef6f071c58025e25570efce0d9e5a.tar.gz gcc-5a1b894d603ef6f071c58025e25570efce0d9e5a.tar.bz2 |
sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given options.
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according
to given options.
From-SVN: r33942
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1917420..ae7b3dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + + * sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according + to given options. + Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com) * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 33222ad..529c2c8 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1306,12 +1306,18 @@ do { \ %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}" #ifdef USE_GNULIBC_1 -#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \ -%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \ +#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \ +%{!undef: \ + %{!ansi: \ + %{!std=*:-Dunix -D__unix -Dlinux -D__linux} \ + %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}} \ -Asystem(unix) -Asystem(posix)" #else -#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \ -%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \ +#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \ +%{!undef: \ + %{!ansi: \ + %{!std=*:-Dunix -D__unix -Dlinux -D__linux} \ + %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}} \ -Asystem(unix) -Asystem(posix) %{pthread:-D_REENTRANT}" #endif |