diff options
author | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-16 20:53:49 +0000 |
---|---|---|
committer | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-16 20:53:49 +0000 |
commit | ebc69736ebe4b4405c2ae639116c0028b074b84f (patch) | |
tree | 5fcbb8bb5f3c09005bbdc9b4b154ec79a6f72d9f | |
parent | b37a92cae9d0041c6f1a8f90ca36e41d812a8e15 (diff) | |
download | ppe42-gcc-ebc69736ebe4b4405c2ae639116c0028b074b84f.tar.gz ppe42-gcc-ebc69736ebe4b4405c2ae639116c0028b074b84f.zip |
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according
to given options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33942 138bc75d-0d04-0410-961f-82ee72b054a4
-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 19174206f08..ae7b3dd2d28 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 33222ad6822..529c2c84dce 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 |