From aea06ed44302c204a137067f5c8c57ce6ff1e7c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 15:54:31 +0000 Subject: Modifications to make go32 build using new i386-go32-rtems toolset and gcc 2.8.x -specs options. --- cpukit/libcsupport/src/newlibc.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cpukit/libcsupport/src/newlibc.c') diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index bd2d7133ed..af3023fac2 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -349,7 +349,8 @@ int get_errno() #include -#if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) +/* #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) */ +#if !defined(RTEMS_UNIX) && !defined(_AM29K) void _exit(int status) { rtems_shutdown_executive(status); @@ -376,14 +377,16 @@ pid_t __getpid(void) } #endif -#if !defined(RTEMS_POSIX_API) || defined(__GO32__) +/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ +#if !defined(RTEMS_POSIX_API) pid_t getpid(void) { return __getpid(); } #endif -#if !defined(RTEMS_POSIX_API) || defined(__GO32__) +/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ +#if !defined(RTEMS_POSIX_API) int kill( pid_t pid, int sig ) { return 0; -- cgit v1.2.3