mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Fix previous MinGW fix.
Definitions required for MinGW need to be outside #if _MSC_VER. Oops.
This commit is contained in:
parent
bd7c95f0c1
commit
79730e2a9b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user