Mercurial > hg > xemacs-beta
view src/s/sol2-5.h @ 38:1a767b41a199 r19-15b102
Import from CVS: tag r19-15b102
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:54:01 +0200 |
parents | ac2d302a0011 |
children | 6b37e6ddd302 |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* Handle Solaris 2.5. */ #include "sol2-4.h" #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */ /* Don't use the shared libraries for -lXt and -lXaw, to work around a linker bug in Solaris 2.5. (This also affects the other libraries used specifically for the X toolkit, which may not be necessary.) */ #define LIBXT_STATIC #ifdef __GNUC__ #define STATIC_OPTION -Xlinker -Bstatic #define DYNAMIC_OPTION -Xlinker -Bdynamic #else #define STATIC_OPTION -Bstatic #define DYNAMIC_OPTION -Bdynamic #endif #endif /* 0 */ #ifndef NOT_C_CODE /* Solaris 2.5 is the first Solaris that has getpagesize(), srandom() and random(), but they forgot to add prototypes to the header files. */ int getpagesize (void); long random (void); void srandom (unsigned int seed); #endif /* NOT_C_CODE */ /* 2.5 now has random back in libc but we don't want to use it. */ #undef HAVE_RANDOM /* Apparently this is not necessary here, and it causes 10% CPU chewage. */ #undef BROKEN_SIGCHLD