Content-Length: 276470 | pFad | http://github.com/postgrespro/postgres_cluster/commit/79730e2a9bb1ce7837feddd16208ff2d9e490118

06 Fix previous MinGW fix. · postgrespro/postgres_cluster@79730e2 · GitHub
Skip to content

Commit 79730e2

Browse files
committed
Fix previous MinGW fix.
Definitions required for MinGW need to be outside #if _MSC_VER. Oops.
1 parent bd7c95f commit 79730e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/include/port/win32_port.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,11 @@ typedef unsigned short mode_t;
510510
#define isnan(x) _isnan(x)
511511
#endif
512512

513+
/* Pulled from Makefile.port in MinGW */
514+
#define DLSUFFIX ".dll"
515+
516+
#endif /* _MSC_VER */
517+
513518
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || \
514519
defined(__MINGW32__) || defined(__MINGW64__)
515520
/*
@@ -529,9 +534,4 @@ typedef unsigned short mode_t;
529534
#define HAVE_BUGGY_STRTOF 1
530535
#endif
531536

532-
/* Pulled from Makefile.port in MinGW */
533-
#define DLSUFFIX ".dll"
534-
535-
#endif /* _MSC_VER */
536-
537537
#endif /* PG_WIN32_PORT_H */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/79730e2a9bb1ce7837feddd16208ff2d9e490118

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy