Commit b4e5d582 by Wenzel Jakob

undo #define copysign in pyconfig.h

parent 1376eb0e
......@@ -113,6 +113,9 @@
#include <frameobject.h>
#include <pythread.h>
/* Python #defines overrides on all sorts of core functions, which
tends to weak havok in C++ codebases that expect these to work
like regular functions (potentially with several overloads) */
#if defined(isalnum)
# undef isalnum
# undef isalpha
......@@ -123,6 +126,10 @@
# undef toupper
#endif
#if defined(copysign)
# undef copysign
#endif
#if defined(_MSC_VER)
# if defined(PYBIND11_DEBUG_MARKER)
# define _DEBUG
......
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