Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
a771e362
Commit
a771e362
authored
Jul 19, 2016
by
Wenzel Jakob
Browse files
check for NOMINMAX issue on windows (fixes #291)
parent
a975ab25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
include/pybind11/common.h
include/pybind11/common.h
+5
-1
No files found.
include/pybind11/common.h
View file @
a771e362
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment