File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1717// ------------------------------------------------------------------------------
1818// this section is the main body of the test extension module
1919
20- #define BOOST_PYTHON_ENABLE_CDECL
21- #define BOOST_PYTHON_ENABLE_STDCALL
22- #define BOOST_PYTHON_ENABLE_FASTCALL
20+ #if defined(_WIN32) && !defined(_WIN64)
21+ # define BOOST_PYTHON_ENABLE_CDECL
22+ # define BOOST_PYTHON_ENABLE_STDCALL
23+ # define BOOST_PYTHON_ENABLE_FASTCALL
24+ #endif
2325#include < boost/preprocessor/cat.hpp>
2426#include < boost/preprocessor/stringize.hpp>
2527#include < boost/python.hpp>
Original file line number Diff line number Diff line change 1717// ------------------------------------------------------------------------------
1818// this section is the main body of the test extension module
1919
20- #define BOOST_PYTHON_ENABLE_CDECL
21- #define BOOST_PYTHON_ENABLE_STDCALL
22- #define BOOST_PYTHON_ENABLE_FASTCALL
20+ #if defined(_WIN32) && !defined(_WIN64)
21+ # define BOOST_PYTHON_ENABLE_CDECL
22+ # define BOOST_PYTHON_ENABLE_STDCALL
23+ # define BOOST_PYTHON_ENABLE_FASTCALL
24+ #endif
2325#include < boost/preprocessor/cat.hpp>
2426#include < boost/preprocessor/stringize.hpp>
2527#include < boost/python.hpp>
You can’t perform that action at this time.
0 commit comments