summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-02-24 15:53:12 +0000
committerBruce Momjian <bruce@momjian.us>2000-02-24 15:53:12 +0000
commitce9f73c16235d49dfc1a9a7314cafcef5c63a365 (patch)
tree4aee52b5c4ecaf60de098bb9037f4b456626109c /src/interfaces/libpq/fe-connect.c
parent58f481c4ff616fbe777881fe6b5a1a864b680678 (diff)
The following is required in order to make beta1 compile on the Win32
platform (psql and libpq): The file "config.h.win32" in the include\ directory (from my patch from 2000-01-18) is missing from the tree. It needs to be put back :-) The following patch has to be applied in the interfaces\libpq directory. //Magnus
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 8443b75f517..4f94b7b0a1d 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.121 2000/02/21 12:26:19 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.122 2000/02/24 15:53:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -592,6 +592,7 @@ connectMakeNonblocking(PGconn *conn)
#ifndef WIN32
if (fcntl(conn->sock, F_SETFL, O_NONBLOCK) < 0)
#else
+ int on = 1;
if (ioctlsocket(conn->sock, FIONBIO, &on) != 0)
#endif
{