Commit 5a1b894d by Franz Sirl Committed by Franz Sirl

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
parent 3faf9b6b
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment