diff -urp boost_1_48_0~/boost/python/detail/config.hpp boost_1_48_0/boost/python/detail/config.hpp
|
old
|
new
|
|
| 76 | 76 | |
| 77 | 77 | # if BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY |
| 78 | 78 | # if defined(BOOST_PYTHON_SOURCE) |
| 79 | | # define BOOST_PYTHON_DECL __attribute__ ((visibility("default"))) |
| | 79 | # define BOOST_PYTHON_DECL __attribute__ ((__visibility__("default"))) |
| 80 | 80 | # define BOOST_PYTHON_BUILD_DLL |
| 81 | 81 | # else |
| 82 | 82 | # define BOOST_PYTHON_DECL |
| 83 | 83 | # endif |
| 84 | 84 | # define BOOST_PYTHON_DECL_FORWARD |
| 85 | | # define BOOST_PYTHON_DECL_EXCEPTION __attribute__ ((visibility("default"))) |
| | 85 | # define BOOST_PYTHON_DECL_EXCEPTION __attribute__ ((__visibility__("default"))) |
| 86 | 86 | # elif (defined(_WIN32) || defined(__CYGWIN__)) |
| 87 | 87 | # if defined(BOOST_PYTHON_SOURCE) |
| 88 | 88 | # define BOOST_PYTHON_DECL __declspec(dllexport) |
diff -urp boost_1_48_0~/boost/python/module_init.hpp boost_1_48_0/boost/python/module_init.hpp
|
old
|
new
|
extern "C" __declspec(dllexport) _BOOST_
|
| 76 | 76 | |
| 77 | 77 | # define BOOST_PYTHON_MODULE_INIT(name) \ |
| 78 | 78 | void BOOST_PP_CAT(init_module_,name)(); \ |
| 79 | | extern "C" __attribute__ ((visibility("default"))) _BOOST_PYTHON_MODULE_INIT(name) |
| | 79 | extern "C" __attribute__ ((__visibility__("default"))) _BOOST_PYTHON_MODULE_INIT(name) |
| 80 | 80 | |
| 81 | 81 | # else |
| 82 | 82 | |