We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bd6d71 commit 1f1b9b6Copy full SHA for 1f1b9b6
1 file changed
include/boost/python/detail/wrap_python.hpp
@@ -83,6 +83,13 @@
83
// than MSVC on Win32
84
//
85
#if defined(_WIN32) || defined(__CYGWIN__)
86
+
87
+// Python.h defines a macro with hypot name, what breaks libstdc++ math header
88
+// that it tries to include afterwards.
89
+# if defined(__MINGW32__)
90
+# include <cmath>
91
+# endif
92
93
# if defined(__GNUC__) && defined(__CYGWIN__)
94
95
# if defined(__LP64__)
0 commit comments