diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-11-28 19:40:29 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-11-28 19:40:29 +0000 |
commit | 3312b8ed3cfd4967f6bd566588d581402ad2606b (patch) | |
tree | 82584fb8c6c51d962aa6fb3aca3e0971e1b5354f /src/interfaces/libpq/win32.h | |
parent | 9d596e0e3eed6b6d244d104775df091a65aa310f (diff) | |
download | postgresql-3312b8ed3cfd4967f6bd566588d581402ad2606b.tar.gz |
Load netmsg.dll locally in winsock_strerror, to avoid actual and
potential problems discussed in pgsql-interfaces.
Diffstat (limited to 'src/interfaces/libpq/win32.h')
-rw-r--r-- | src/interfaces/libpq/win32.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h index ac6a0ea388..bf6d01b7ca 100644 --- a/src/interfaces/libpq/win32.h +++ b/src/interfaces/libpq/win32.h @@ -31,9 +31,6 @@ #define EINPROGRESS WSAEINPROGRESS /* - * Windows network messaging stuff: + * support for handling Windows Socket errors */ -static HINSTANCE netmsgModule = NULL; - -static char winsock_strerror_buf[512]; -const char *winsock_strerror(DWORD eno); +extern const char *winsock_strerror(int eno); |