*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
#ifndef WIN32
if (fcntl(conn->sock, F_SETFL, O_NONBLOCK) < 0)
#else
+ int on = 1;
if (ioctlsocket(conn->sock, FIONBIO, &on) != 0)
#endif
{
* strcasecmp() is not in Windows, stricmp is, though
*/
#define strcasecmp(a,b) stricmp(a,b)
+#define strncasecmp(a,b,c) _strnicmp(a,b,c)
#define SOCKET_SIZE_TYPE int
#define write(a,b,c) _write(a,b,c)
#define popen(a,b) _popen(a,b)
#define pclose(a) _pclose(a)
+#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
/*
* crypt not available (yet)