From 65a9e6d4fa0e5bf7c6ce9ca08a9caacd869cdb51 Mon Sep 17 00:00:00 2001 From: Franz Sirl Date: Tue, 16 May 2000 20:59:13 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/sysv4.h | 14 ++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) 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 -- 2.47.2