Files
Bjarne D Mathiesen 63a1f56b49 boost188: new port
2025-06-19 10:06:58 -04:00

14 lines
321 B
Diff

--- libs/mpi/src/python/datatypes.cpp.orig
+++ libs/mpi/src/python/datatypes.cpp
@@ -13,6 +13,10 @@
#include <boost/mpi/python/serialize.hpp>
#include <boost/mpi.hpp>
+#if PY_MAJOR_VERSION >= 3
+#define PyInt_Type PyLong_Type
+#endif
+
namespace boost { namespace mpi { namespace python {
void export_datatypes()