diff options
author | Magnus Hagander <magnus@hagander.net> | 2017-04-11 15:21:25 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2017-04-11 15:22:21 +0200 |
commit | a4777f35565b80ae10605d6d417e5d173156f7da (patch) | |
tree | 91b191a40437fd4d98a163bb4ce0f6ad8a3c8aff /src/interfaces/libpq/fe-connect.c | |
parent | 6da56f3f84d430671d5edd8f9336bd744c089e31 (diff) |
Remove symbol WIN32_ONLY_COMPILER
This used to mean "Visual C++ except in those parts where Borland C++
was supported where it meant one of those". Now that we don't support
Borland C++ anymore, simplify by using _MSC_VER which is the normal way
to detect Visual C++.
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index d79a1cfc02a..1739855c634 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -37,7 +37,7 @@ #endif #define near #include <shlobj.h> -#ifdef WIN32_ONLY_COMPILER /* mstcpip.h is missing on mingw */ +#ifdef _MSC_VER /* mstcpip.h is missing on mingw */ #include <mstcpip.h> #endif #else |