|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.163 2001/03/23 04:49:57 momjian Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.164 2001/03/31 23:14:37 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -916,7 +916,7 @@ connectDBStart(PGconn *conn)
|
916 | 916 | *
|
917 | 917 | * Ewan Mellor <eem21@cam.ac.uk>.
|
918 | 918 | */
|
919 |
| -#if (!defined(WIN32)|| defined(WIN32_NON_BLOCKING_CONNECTIONS))&& !defined(USE_SSL) |
| 919 | +#if ((!defined(WIN32)&& !defined(__CYGWIN__))|| defined(WIN32_NON_BLOCKING_CONNECTIONS))&& !defined(USE_SSL) |
920 | 920 | if (connectMakeNonblocking(conn)==0)
|
921 | 921 | gotoconnect_errReturn;
|
922 | 922 | #endif
|
@@ -1036,7 +1036,7 @@ connectDBStart(PGconn *conn)
|
1036 | 1036 | * This makes the connection non-blocking, for all those cases which
|
1037 | 1037 | * forced us not to do it above.
|
1038 | 1038 | */
|
1039 |
| -#if (defined(WIN32)&& !defined(WIN32_NON_BLOCKING_CONNECTIONS))|| defined(USE_SSL) |
| 1039 | +#if ((defined(WIN32)|| defined(__CYGWIN__))&& !defined(WIN32_NON_BLOCKING_CONNECTIONS))|| defined(USE_SSL) |
1040 | 1040 | if (connectMakeNonblocking(conn)==0)
|
1041 | 1041 | gotoconnect_errReturn;
|
1042 | 1042 | #endif
|
|