Commit a771e362 by Wenzel Jakob

check for NOMINMAX issue on windows (fixes #291)

parent a975ab25
......@@ -49,7 +49,11 @@
#include <frameobject.h>
#include <pythread.h>
#ifdef isalnum
#if defined(_WIN32) && (defined(min) || defined(max))
# error Macro clash with min and max -- define NOMINMAX when compiling your program on Windows
#endif
#if defined(isalnum)
# undef isalnum
# undef isalpha
# undef islower
......
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