projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7c95f
)
Fix previous MinGW fix.
author
Andrew Gierth
<
[email protected]
>
Sat, 16 Feb 2019 15:21:10 +0000
(15:21 +0000)
committer
Andrew Gierth
<
[email protected]
>
Sat, 16 Feb 2019 15:23:02 +0000
(15:23 +0000)
Definitions required for MinGW need to be outside #if _MSC_VER. Oops.
src/include/port/win32_port.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/win32_port.h
b/src/include/port/win32_port.h
index 1438082723f5d03ded4f0f79cc3b44c3cafa63ac..f4841fb3975d49749629c83dc20a17e064d48270 100644
(file)
--- 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 */