Move windows.h reduction logic into windows.h proxy header
Fixes #965 (at least the primary problem, the separate warnings can be taken care of later)
This commit is contained in:
parent
d118ce191d
commit
0a3f899d6a
2 changed files with 13 additions and 13 deletions
|
@ -22,12 +22,6 @@
|
|||
|
||||
#elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
|
||||
# define CATCH_PLATFORM_WINDOWS
|
||||
# if !defined(NOMINMAX) && !defined(CATCH_CONFIG_NO_NOMINMAX)
|
||||
# define CATCH_DEFINES_NOMINMAX
|
||||
# endif
|
||||
# if !defined(WIN32_LEAN_AND_MEAN) && !defined(CATCH_CONFIG_NO_WIN32_LEAN_AND_MEAN)
|
||||
# define CATCH_DEFINES_WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_PLATFORM_H_INCLUDED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue