diff options
author | Andrew Gierth <rhodiumtoad@postgresql.org> | 2019-02-16 15:21:10 +0000 |
---|---|---|
committer | Andrew Gierth <rhodiumtoad@postgresql.org> | 2019-02-16 15:23:02 +0000 |
commit | 79730e2a9bb1ce7837feddd16208ff2d9e490118 (patch) | |
tree | ef978bdf021f29edcd93ea5686378d68d85e803e | |
parent | bd7c95f0c1a38becffceb3ea7234d57167f6d4bf (diff) | |
download | postgresql-79730e2a9bb1ce7837feddd16208ff2d9e490118.tar.gz postgresql-79730e2a9bb1ce7837feddd16208ff2d9e490118.zip |
Fix previous MinGW fix.
Definitions required for MinGW need to be outside #if _MSC_VER. Oops.
-rw-r--r-- | src/include/port/win32_port.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/port/win32_port.h b/src/include/port/win32_port.h index 1438082723f..f4841fb3975 100644 --- a/src/include/port/win32_port.h +++ b/src/include/port/win32_port.h @@ -510,6 +510,11 @@ typedef unsigned short mode_t; #define isnan(x) _isnan(x) #endif +/* Pulled from Makefile.port in MinGW */ +#define DLSUFFIX ".dll" + +#endif /* _MSC_VER */ + #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || \ defined(__MINGW32__) || defined(__MINGW64__) /* @@ -529,9 +534,4 @@ typedef unsigned short mode_t; #define HAVE_BUGGY_STRTOF 1 #endif -/* Pulled from Makefile.port in MinGW */ -#define DLSUFFIX ".dll" - -#endif /* _MSC_VER */ - #endif /* PG_WIN32_PORT_H */ |