Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Last attempt for python/mingw.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 22 Jan 2019 21:42:09 +0000 (22:42 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 22 Jan 2019 21:42:09 +0000 (22:42 +0100)
src/bindings/python/simgrid_python.cpp

index 2f48be6..4a67d2e 100644 (file)
@@ -5,8 +5,7 @@
 
 #ifdef _WIN32
 #warning Try to work around https://bugs.python.org/issue11566
-#include <cmath>
-#define hypot _hypot // Must come before pybind11 when compiling with MinGW32-64 (https://bugs.python.org/issue11566)
+#define _hypot hypot
 #endif
 
 #include <pybind11/functional.h>