aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/unixware.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-08-22 04:24:41 +0000
committerBruce Momjian <bruce@momjian.us>1998-08-22 04:24:41 +0000
commita738478ad8319bb4761dc53dfe700cb1fe87000e (patch)
tree15bde54505ecbcb01eb6db417f4ae1ebd8e6782c /src/include/port/unixware.h
parent9005da08def354e0b23e3bca4ec500c41eb142e7 (diff)
downloadpostgresql-a738478ad8319bb4761dc53dfe700cb1fe87000e.tar.gz
postgresql-a738478ad8319bb4761dc53dfe700cb1fe87000e.zip
Here are additional patches for the UnixWare 7 port.
Summary of changes: In pqcomm.h, use the SUN_LEN macro if it is defined to calculate the size of the sockaddr_un structure. In unixware.h, drop the use of the UNIXWARE macro. Everything can be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros. In s_lock.h, remove the reference to the UNIXWARE macro (see above). In the unixware template, add the YFLAGS:-d line. In various makefile templates, add (or cleanup) unixware and univel port specific information. -- Billy G. Allie
Diffstat (limited to 'src/include/port/unixware.h')
-rw-r--r--src/include/port/unixware.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h
index e552202f5f9..c52b9b0948d 100644
--- a/src/include/port/unixware.h
+++ b/src/include/port/unixware.h
@@ -5,13 +5,17 @@
#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM
+
/***************************************
* Define this if you are compiling with
* the native UNIXWARE C compiler.
***************************************/
-#define UNIXWARE
+#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.