don't redefine NOMINMAX if already defined (mingw32 does this apparently)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-02-23 16:54:16 +00:00
parent fa50c0e3bf
commit a97cd79840

View File

@ -18,7 +18,9 @@
#endif
// don't define min() and max() as macros, they conflict with standard C++ ones
#define NOMINMAX
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX
#include <windows.h>