Mercurial > hg > xemacs-beta
diff src/s/sunos4-0.h @ 167:85ec50267440 r20-3b10
Import from CVS: tag r20-3b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:45:46 +0200 |
parents | 5a88923fcbfe |
children | 2d532a89d707 |
line wrap: on
line diff
--- a/src/s/sunos4-0.h Mon Aug 13 09:44:44 2007 +0200 +++ b/src/s/sunos4-0.h Mon Aug 13 09:45:46 2007 +0200 @@ -11,11 +11,6 @@ #define SUNOS4 #endif -/* XEmacs addition: */ -#ifndef HAVE_SYS_TIME_H -#define HAVE_SYS_TIME_H -#endif - #if 0 /* This may have been needed for an earlier version of Sun OS 4. It seems to cause warnings in 4.0.3 and 4.1. */ #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ @@ -41,11 +36,6 @@ #define TEXT_START 0 #define DATA_START 0 -/* XEmacs change -- Sun CC needs this to default to ANSI */ -#if __SUNPRO_C -#define C_SWITCH_SYSTEM "-Xa" -#endif - /* #### XEmacs: #define of SYSTEM_MALLOC removed. Is this OK? FSF says: In SunOS 4.1, a static function called by tzsetwall reportedly @@ -70,7 +60,7 @@ extern void tzsetwall (void); extern int getpagesize (void); -#ifndef __SUNPRO_C +#ifdef __SUNPRO_C /* Suppress zillions of warnings from outdated SunOS4 prototypes */ /* Bother! Sun can't even get the arg types right. */ #include <memory.h> @@ -84,7 +74,7 @@ #include <X11/Xlib.h> #define XFree(p) XFree((char*)(p)) #endif /* X Windows */ -#endif /* !__SUNPRO_C */ +#endif /* __SUNPRO_C */ #endif /* __STDC__ */