You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
14 lines
321 B
Diff
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()
|