diff options
Diffstat (limited to 'src/include/port/solaris_i386.h')
-rwxr-xr-x | src/include/port/solaris_i386.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/include/port/solaris_i386.h b/src/include/port/solaris_i386.h deleted file mode 100755 index 722cbd94e68..00000000000 --- a/src/include/port/solaris_i386.h +++ /dev/null @@ -1,41 +0,0 @@ -#define USE_POSIX_TIME -#define NO_EMPTY_STMTS -#define SYSV_DIRENT -#define HAS_TEST_AND_SET -typedef unsigned char slock_t; - -#include "sys/isa_defs.h" - -#ifndef BIG_ENDIAN -#define BIG_ENDIAN 4321 -#endif -#ifndef LITTLE_ENDIAN -#define LITTLE_ENDIAN 1234 -#endif -#ifndef PDP_ENDIAN -#define PDP_ENDIAN 3412 -#endif -#ifndef BYTE_ORDER -#define BYTE_ORDER LITTLE_ENDIAN -#endif - -#ifndef NAN - -#ifndef __nan_bytes -#define __nan_bytes { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f } -#endif /* __nan_bytes */ - -#ifdef __GNUC__ -#define NAN \ - (__extension__ ((union { unsigned char __c[8]; \ - double __d; }) \ - { __nan_bytes }).__d) - -#else /* Not GCC. */ -#define NAN (*(__const double *) __nan) -#endif /* GCC. */ -#endif /* NAN */ - -#ifndef index -#define index strchr -#endif |