"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "a7ee84fc31d597a55e591470aba489b643ce7210"
Commit d635c1d7 authored by Davis King's avatar Davis King
Browse files

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

parent 28219262
...@@ -14,6 +14,11 @@ ...@@ -14,6 +14,11 @@
#define NOMINMAX // prevent windows from messing with std::min and std::max #define NOMINMAX // prevent windows from messing with std::min and std::max
#endif #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 // now just for good measure undefine min and max if they are defined
#ifdef min #ifdef min
#undef 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