#undefine NOMINMAX before #defining it
Prevents warnings about #redefining previously #defined macros git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9869 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
384e87976d
commit
60c55e4009
|
@ -533,7 +533,8 @@
|
|||
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_EXTRA_LEAN
|
||||
# define NOMINMAX // disable the min / max macros
|
||||
# undef NOMINMAX
|
||||
# define NOMINMAX 1 // disable the min / max macros
|
||||
# include <windows.h>
|
||||
|
||||
# if defined(WZ_CC_MSVC)
|
||||
|
|
Loading…
Reference in New Issue