#define STRICT 1
#endif
+// don't define min() and max() as macros, they conflict with standard C++ ones
+#ifndef NOMINMAX
+ #define NOMINMAX
+#endif // NOMINMAX
+
#include <windows.h>
#ifdef __WXWINCE__
// with newer SDK headers
#if !defined(__WIN64__) && !defined(__WXWINCE__)
#define UINT_PTR unsigned int
+ #define LONG_PTR long
#define ULONG_PTR unsigned long
#define DWORD_PTR unsigned long
#endif // !__WIN64__