From fd05f896455c62104c1134b06f528858dcb4e7c3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 21 Nov 2000 23:03:54 +0000 Subject: Extend accept/AF_UNIX bug workaround to SCO OpenServer. --- src/include/port/sco.h | 3 +++ src/include/port/unixware.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/port/sco.h b/src/include/port/sco.h index b37990c3dd9..1e08b5b8a5c 100644 --- a/src/include/port/sco.h +++ b/src/include/port/sco.h @@ -4,6 +4,9 @@ #define DISABLE_COMPLEX_MACRO +/* see src/backend/libpq/pqcomm.c */ +#define SCO_ACCEPT_BUG + #define HAS_TEST_AND_SET #define NEED_I386_TAS_ASM diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h index 76d5f26d88b..7a622c83a99 100644 --- a/src/include/port/unixware.h +++ b/src/include/port/unixware.h @@ -2,7 +2,7 @@ #define NEED_I386_TAS_ASM /* see src/backend/libpq/pqcomm.c */ -#define PG_ON_UNIXWARE +#define SCO_ACCEPT_BUG /*************************************** * Define this if you are compiling with -- cgit v1.2.3