diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libcsupport/src/utsname.c | 2 | ||||
-rw-r--r-- | c/src/exec/posix/src/utsname.c | 2 | ||||
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.c | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/utsname.c b/c/src/exec/libcsupport/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/c/src/exec/libcsupport/src/utsname.c +++ b/c/src/exec/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/c/src/exec/posix/src/utsname.c b/c/src/exec/posix/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/c/src/exec/posix/src/utsname.c +++ b/c/src/exec/posix/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/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index a7b2140742..347882ddcc 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -21,10 +21,13 @@ #include <rtems/score/interr.h> #if defined(solaris2) +/* #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 3 #undef __STRICT_ANSI__ #define __STRICT_ANSI__ +*/ +#define __EXTENSIONS__ #endif #if defined(linux) |