From a738478ad8319bb4761dc53dfe700cb1fe87000e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 22 Aug 1998 04:24:41 +0000 Subject: 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 --- src/include/port/unixware.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/port/unixware.h') 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. -- cgit v1.2.3