File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * 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 $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -916,7 +916,7 @@ connectDBStart(PGconn *conn)
916916 *
917917 * Ewan Mellor <eem21@cam.ac.uk>.
918918 */
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 )
920920 if (connectMakeNonblocking (conn ) == 0 )
921921 goto connect_errReturn ;
922922#endif
@@ -1036,7 +1036,7 @@ connectDBStart(PGconn *conn)
10361036 * This makes the connection non-blocking, for all those cases which
10371037 * forced us not to do it above.
10381038 */
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 )
10401040 if (connectMakeNonblocking (conn ) == 0 )
10411041 goto connect_errReturn ;
10421042#endif
You can’t perform that action at this time.
0 commit comments