summaryrefslogtreecommitdiff
path: root/libpq/win32/win32.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-30 22:37:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-12-06 15:11:04 +0300
commitf1f39911e0d2d88c98eae96a3eb14a53c664206f (patch)
tree4cf4e3a84d895f59323d3b6ab4bfab38b3cab489 /libpq/win32/win32.h
parentfc9499b8a7b7a3e350bfabf2cd6ae0bc13f04bea (diff)
Upgrade to 12.1
Diffstat (limited to 'libpq/win32/win32.h')
-rw-r--r--libpq/win32/win32.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/libpq/win32/win32.h b/libpq/win32/win32.h
deleted file mode 100644
index be00ea7..0000000
--- a/libpq/win32/win32.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * src/interfaces/libpq/win32.h
- */
-#ifndef __win32_h_included
-#define __win32_h_included
-
-/*
- * Some compatibility functions
- */
-#ifdef __BORLANDC__
-#define _timeb timeb
-#define _ftime(a) ftime(a)
-#define _errno errno
-#define popen(a,b) _popen(a,b)
-#else
-/* open provided elsewhere */
-#define close(a) _close(a)
-#define read(a,b,c) _read(a,b,c)
-#define write(a,b,c) _write(a,b,c)
-#endif
-
-#undef EAGAIN /* doesn't apply on sockets */
-#undef EINTR
-#define EINTR WSAEINTR
-#ifndef EWOULDBLOCK
-#define EWOULDBLOCK WSAEWOULDBLOCK
-#endif
-#ifndef ECONNRESET
-#define ECONNRESET WSAECONNRESET
-#endif
-#ifndef EINPROGRESS
-#define EINPROGRESS WSAEINPROGRESS
-#endif
-
-/*
- * support for handling Windows Socket errors
- */
-extern const char *winsock_strerror(int err, char *strerrbuf, size_t buflen);
-
-#endif