diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/config.h.in | 4 | ||||
-rw-r--r-- | src/include/port/win.h | 7 | ||||
-rw-r--r-- | src/test/regress/pg_regress.sh | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index debd934672f..1367a5ab4bc 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -8,7 +8,7 @@ * or in config.h afterwards. Of course, if you edit config.h, then your * changes will be overwritten the next time you run configure. * - * $Id: config.h.in,v 1.155 2001/01/09 18:40:15 petere Exp $ + * $Id: config.h.in,v 1.156 2001/01/19 23:43:35 petere Exp $ */ #ifndef CONFIG_H @@ -228,7 +228,7 @@ /* * Define this if your operating system supports AF_UNIX family sockets. */ -#if !defined(__CYGWIN__) && !defined(__QNX__) && !defined(__BEOS__) +#if !defined(__QNX__) && !defined(__BEOS__) # define HAVE_UNIX_SOCKETS 1 #endif diff --git a/src/include/port/win.h b/src/include/port/win.h index 91b1b1e6d69..ff02db1b5b1 100644 --- a/src/include/port/win.h +++ b/src/include/port/win.h @@ -9,3 +9,10 @@ typedef unsigned char slock_t; #define HAVE_INT_TIMEZONE /* has int _timezone */ #include <cygwin/version.h> + +/* + * Check for b20.1 and disable AF_UNIX family socket support. + */ +#if CYGWIN_VERSION_DLL_MAJOR < 1001 +# undef HAVE_UNIX_SOCKETS +#endif diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh index 3cef454a276..c80239eb62b 100644 --- a/src/test/regress/pg_regress.sh +++ b/src/test/regress/pg_regress.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.17 2001/01/13 03:25:48 petere Exp $ +# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.18 2001/01/19 23:43:36 petere Exp $ me=`basename $0` : ${TMPDIR=/tmp} @@ -156,11 +156,11 @@ done # ---------- -# When on Windows, QNX or BeOS, don't use Unix sockets. +# When on QNX or BeOS, don't use Unix sockets. # ---------- case $host_platform in - *-*-cygwin* | *-*-qnx* | *beos*) + *-*-qnx* | *beos*) unix_sockets=no;; *) unix_sockets=yes;; |