mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
Fix so it compiles with Cygwin
[SVN r10480]
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
# define BOOST_CSTD_ std
|
||||
# endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
# define BOOST_PYTHON_MODULE_INIT(name) extern "C" __declspec(dllexport) void init##name()
|
||||
#else
|
||||
# define BOOST_PYTHON_MODULE_INIT(name) extern "C" void init##name()
|
||||
|
||||
Reference in New Issue
Block a user