Permalink
Browse files

Re-add the Win32 header change from the last revert.

  • Loading branch information...
shawnw committed Mar 28, 2018
1 parent 8183da4 commit 038747056a70e934dc6b8c30a0c8ad0f45a6b8f4
Showing with 10 additions and 5 deletions.
  1. +1 −5 config.h.in
  2. +9 −0 win32_vers.h
@@ -424,11 +424,7 @@ typedef bool _Bool;
#define RESTRICT restrict
#if defined(__MINGW32__) || defined(__MINGW64__)
#include <w32api.h>
#undef _WIN32_WINNT
#undef WINVER
#define _WIN32_WINNT Windows7
#define WINVER Windows7
#include "win32_vers.h"
#endif
#endif /* __CONFIG_H */
@@ -0,0 +1,9 @@
/* Can't have this directly in config.h because autoconf will comment out the
* #undef lines.
*/
#include <w32api.h>
#undef _WIN32_WINNT
#undef WINVER
/* Windows 7 or better is required for Windows builds. */
#define _WIN32_WINNT Windows7
#define WINVER Windows7

0 comments on commit 0387470

Please sign in to comment.