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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy