From 1cefaced3145bd6c0d9275343943285a471fde41 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 Oct 1995 16:33:30 +0000 Subject: moved to new development machine and went to gcc 2.7.0 --- cpukit/libcsupport/src/utsname.c | 2 +- cpukit/score/cpu/unix/cpu.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/cpukit/libcsupport/src/utsname.c +++ b/cpukit/libcsupport/src/utsname.c @@ -21,7 +21,7 @@ int uname( { /* XXX: Here is what Solaris returns... sysname = SunOS - nodename = merlin + nodename = node_name release = 5.3 version = Generic_101318-12 machine = sun4m diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index a7b2140742..347882ddcc 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -21,10 +21,13 @@ #include #if defined(solaris2) +/* #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 3 #undef __STRICT_ANSI__ #define __STRICT_ANSI__ +*/ +#define __EXTENSIONS__ #endif #if defined(linux) -- cgit v1.2.3