From: Franz Sirl Date: Tue, 16 May 2000 20:59:13 +0000 (+0000) Subject: sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given options. X-Git-Tag: prereleases/gcc-2.95.3-test1~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a9e6d4fa0e5bf7c6ce9ca08a9caacd869cdb51;p=thirdparty%2Fgcc.git sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given options. 2000-05-16 Franz Sirl * sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given options. From-SVN: r33943 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a7dc68e3361..918033925967 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-16 Franz Sirl + + * sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according + to given options. + 2000-05-14 Franz Sirl * rs6000/rs6000.md (nonlocal_goto_receiver): Add length attribute. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index fac1645c0f43..4d913a41d1c1 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1338,12 +1338,18 @@ do { \ #ifndef CPP_OS_LINUX_SPEC #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 #endif