summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian1999-05-10 16:10:51 +0000
committerBruce Momjian1999-05-10 16:10:51 +0000
commit94bd4e3da713e412a56582ed516ea23af5f96877 (patch)
treeca805c65e933b2d4b621388d1caa058ba9ddf5b9 /src/include
parent86dacdb74c20d8af6ec900b7cd163df031ab90e4 (diff)
Update to PyGreSQL 2.3.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port/sco.h38
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