*** ./fe-connect.c.orig Thu Feb 24 16:19:26 2000 --- ./fe-connect.c Thu Feb 24 16:19:21 2000 *************** *** 592,597 **** --- 592,598 ---- #ifndef WIN32 if (fcntl(conn->sock, F_SETFL, O_NONBLOCK) < 0) #else + int on = 1; if (ioctlsocket(conn->sock, FIONBIO, &on) != 0) #endif { *** ./libpqdll.def.orig Thu Feb 24 16:19:27 2000 --- ./libpqdll.def Thu Feb 24 16:19:23 2000 *************** *** 72,78 **** initPQExpBuffer @ 69 resetPQExpBuffer @ 70 PQoidValue @ 71 ! PQclientencoding @ 72 PQenv2encoding @ 73 appendBinaryPQExpBuffer @ 74 appendPQExpBufferStr @ 75 --- 72,78 ---- initPQExpBuffer @ 69 resetPQExpBuffer @ 70 PQoidValue @ 71 ! PQclientEncoding @ 72 PQenv2encoding @ 73 appendBinaryPQExpBuffer @ 74 appendPQExpBufferStr @ 75 *** ./win32.h.orig Thu Feb 24 16:19:27 2000 --- ./win32.h Thu Feb 24 16:19:24 2000 *************** *** 4,9 **** --- 4,10 ---- * 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 *************** *** 16,21 **** --- 17,23 ---- #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)