X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fs%2Fsol2.h;h=be814d70793a070c8d1087fd42e253f1e8ed365d;hp=d780f916e1a9d0dc30314d3ab061da60c3c3b9b9;hb=79d2db7d65205bc85d471590726d0cf3af5598e0;hpb=de1ec4b272dfa3f9ef2c9ae28a9ba67170d24da5 diff --git a/src/s/sol2.h b/src/s/sol2.h index d780f91..be814d7 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -11,7 +11,7 @@ #endif /* Fix understandable GCC lossage on Solaris 2.6 */ -#if defined(__GNUC__) && OS_RELEASE >= 56 && !defined(NOT_C_CODE) +#if defined(__GNUC__) && OS_RELEASE >= 506 && !defined(NOT_C_CODE) /* GCC va_list munging is a little messed up */ #define __GNUC_VA_LIST @@ -66,7 +66,7 @@ extern int __xnet_getsockopt (int, int, int, void *, size_t *); */ #undef UNEXEC -#if OS_RELEASE < 56 +#if OS_RELEASE < 506 #define UNEXEC "unexsol2.o" #else #define UNEXEC "unexsol2-6.o" @@ -74,7 +74,7 @@ extern int __xnet_getsockopt (int, int, int, void *, size_t *); #else /* C_CODE */ -#if OS_RELEASE <= 53 +#if OS_RELEASE <= 503 /* Solaris 2.3 has a bug in XListFontsWithInfo. */ #define BROKEN_XLISTFONTSWITHINFO #endif @@ -91,7 +91,7 @@ extern int __xnet_getsockopt (int, int, int, void *, size_t *); #define BROKEN_SIGCHLD #endif -#if OS_RELEASE < 55 +#if OS_RELEASE < 505 #if __STDC__ == 1 && defined(__SUNPRO_C) #define _POSIX_C_SOURCE 1 @@ -103,7 +103,7 @@ extern int __xnet_getsockopt (int, int, int, void *, size_t *); extern void *__builtin_alloca (size_t); #endif /* before SunOS 5.5 */ -#if OS_RELEASE == 55 +#if OS_RELEASE == 505 /* The following functions were added in Solaris 2.5, but they forgot to add prototypes to the system header files. */ int getpagesize (void); @@ -113,13 +113,13 @@ int usleep (unsigned int useconds); #endif /* SunOS 5.5 */ /* 2.5 now has `random' back in libc but we don't want to use it. */ -#if OS_RELEASE >= 55 +#if OS_RELEASE >= 505 #undef HAVE_RANDOM /* Apparently not necessary here, and it causes 10% CPU chewage. */ #undef BROKEN_SIGCHLD #endif /* >= SunOS 5.5 */ -#if OS_RELEASE < 56 +#if OS_RELEASE < 506 /* Missing prototypes, added in Solaris 2.6 */ struct timeval; int utimes (char *file, struct timeval *tvp);