diff options
Diffstat (limited to 'src/include/port/sco.h')
-rw-r--r-- | src/include/port/sco.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/include/port/sco.h b/src/include/port/sco.h index 1927686dfe1..074c6533979 100644 --- a/src/include/port/sco.h +++ b/src/include/port/sco.h @@ -1,7 +1,45 @@ #include <limits.h> /* For _POSIX_PATH_MAX */ +#ifndef MAXPATHLEN #define MAXPATHLEN _POSIX_PATH_MAX +#endif +#ifndef NOFILE #define NOFILE NOFILES_MIN +#endif + +#define ONLY_REUSE_INET_SOCKETS #define DISABLE_COMPLEX_MACRO + +#define USE_POSIX_TIME +#define NO_EMPTY_STMTS +#define SYSV_DIRENT + +#define HAS_TEST_AND_SET +#define NEED_I386_TAS_ASM + +#define USE_UNIVEL_CC + +typedef unsigned char slock_t; + +#define DISABLE_COMPLEX_MACRO + +/*************************************************************** + * 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 |