aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/i386_solaris.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/i386_solaris.h')
-rw-r--r--src/include/port/i386_solaris.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/include/port/i386_solaris.h b/src/include/port/i386_solaris.h
index 92d276985d0..b2df1ba5e2c 100644
--- a/src/include/port/i386_solaris.h
+++ b/src/include/port/i386_solaris.h
@@ -1,42 +1,42 @@
-# define USE_POSIX_TIME
-# define USE_POSIX_SIGNALS
-# define NO_EMPTY_STMTS
-# define SYSV_DIRENT
-# define HAS_TEST_AND_SET
- typedef unsigned char slock_t;
+#define USE_POSIX_TIME
+#define USE_POSIX_SIGNALS
+#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
+#ifndef BIG_ENDIAN
+#define BIG_ENDIAN 4321
#endif
-#ifndef LITTLE_ENDIAN
-#define LITTLE_ENDIAN 1234
+#ifndef LITTLE_ENDIAN
+#define LITTLE_ENDIAN 1234
#endif
-#ifndef PDP_ENDIAN
-#define PDP_ENDIAN 3412
+#ifndef PDP_ENDIAN
+#define PDP_ENDIAN 3412
#endif
-#ifndef BYTE_ORDER
-#define BYTE_ORDER LITTLE_ENDIAN
+#ifndef BYTE_ORDER
+#define BYTE_ORDER LITTLE_ENDIAN
#endif
-#ifndef NAN
+#ifndef NAN
-#ifndef __nan_bytes
-#define __nan_bytes { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }
-#endif /* __nan_bytes */
+#ifndef __nan_bytes
+#define __nan_bytes { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }
+#endif /* __nan_bytes */
-#ifdef __GNUC__
+#ifdef __GNUC__
#define NAN \
- (__extension__ ((union { unsigned char __c[8]; \
- double __d; }) \
- { __nan_bytes }).__d)
+ (__extension__ ((union { unsigned char __c[8]; \
+ double __d; }) \
+ { __nan_bytes }).__d)
-#else /* Not GCC. */
-#define NAN (*(__const double *) __nan)
-#endif /* GCC. */
-#endif /* NAN */
+#else /* Not GCC. */
+#define NAN (*(__const double *) __nan)
+#endif /* GCC. */
+#endif /* NAN */
-#ifndef index
+#ifndef index
#define index strchr
#endif