Commit d635c1d7 authored by Davis King's avatar Davis King

Added a #define for _NO_W32_PSEUDO_MODIFIERS so that windows.h won't #define IN or OUT

parent 28219262
......@@ -14,6 +14,11 @@
#define NOMINMAX // prevent windows from messing with std::min and std::max
#endif
// Prevent windows from #defining IN or OUT
#ifndef _NO_W32_PSEUDO_MODIFIERS
#define _NO_W32_PSEUDO_MODIFIERS
#endif
// now just for good measure undefine min and max if they are defined
#ifdef min
#undef min
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment