summaryrefslogtreecommitdiff
path: root/src/include/getaddrinfo.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-04-11 15:14:26 +0200
committerMagnus Hagander <magnus@hagander.net>2017-04-11 15:22:21 +0200
commit6da56f3f84d430671d5edd8f9336bd744c089e31 (patch)
treeb1fab20e1548779ada4c80e20946d021c04667ff /src/include/getaddrinfo.h
parent258cef12540fa1cb244881a0f019cefd698c809e (diff)
downloadpostgresql-6da56f3f84d430671d5edd8f9336bd744c089e31.tar.gz
Remove support for bcc and msvc standalone libpq builds
This removes the support for building just libpq using Borland C++ or Visual C++. This has not worked properly for years, and given the number of complaints it's clearly not worth the maintenance burden. Building libpq using the standard MSVC build system is of course still supported, along with mingw.
Diffstat (limited to 'src/include/getaddrinfo.h')
-rw-r--r--src/include/getaddrinfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/getaddrinfo.h b/src/include/getaddrinfo.h
index 952cd44712..b24afc57d5 100644
--- a/src/include/getaddrinfo.h
+++ b/src/include/getaddrinfo.h
@@ -44,10 +44,8 @@
#ifndef WSA_NOT_ENOUGH_MEMORY
#define WSA_NOT_ENOUGH_MEMORY (WSAENOBUFS)
#endif
-#ifndef __BORLANDC__
#define WSATYPE_NOT_FOUND (WSABASEERR+109)
#endif
-#endif
#define EAI_AGAIN WSATRY_AGAIN
#define EAI_BADFLAGS WSAEINVAL
#define EAI_FAIL WSANO_RECOVERY