diff options
Diffstat (limited to 'src/include/port/unixware.h')
-rw-r--r-- | src/include/port/unixware.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h new file mode 100644 index 00000000000..e552202f5f9 --- /dev/null +++ b/src/include/port/unixware.h @@ -0,0 +1,32 @@ +#define USE_POSIX_TIME +#define NO_EMPTY_STMTS +#define USE_POSIX_SIGNALS +#define SYSV_DIRENT + +#define HAS_TEST_AND_SET +#define NEED_I386_TAS_ASM +/*************************************** + * Define this if you are compiling with + * the native UNIXWARE C compiler. + ***************************************/ +#define UNIXWARE +typedef unsigned char slock_t; + +/*************************************************************** + * The following include will get the needed prototype for the + * strcasecmp() function. + ***************************************************************/ +#include <strings.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 |