2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 06:22:15 +00:00

support for BOOST_PYTHON_STATIC_MODULE

[SVN r16786]
This commit is contained in:
Dave Abrahams
2003-01-07 17:38:08 +00:00
parent 2b1a2ce09c
commit b84a8fd737

View File

@@ -17,7 +17,7 @@ BOOST_PYTHON_DECL void init_module(char const* name, void(*)());
}}}
# if defined(_WIN32) || defined(__CYGWIN__)
# if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(BOOST_PYTHON_STATIC_MODULE)
# define BOOST_PYTHON_MODULE_INIT(name) \
void init_module_##name(); \
@@ -28,7 +28,7 @@ extern "C" __declspec(dllexport) void init##name() \
} \
void init_module_##name()
# elif defined(_AIX)
# elif defined(_AIX) && !defined(BOOST_PYTHON_STATIC_MODULE)
# include <boost/python/detail/aix_init_module.hpp>
# define BOOST_PYTHON_MODULE_INIT(name) \