Browse Source

Merge pull request #3321

0078841 prevent Windows redefinition warning cause by compat.h (Philip Kaufmann)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
4ae42d43a4
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/compat.h

2
src/compat.h

@ -11,7 +11,9 @@
#undef _WIN32_WINNT #undef _WIN32_WINNT
#endif #endif
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1 #define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif

Loading…
Cancel
Save