2
0
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:
Dave Abrahams
2001-06-29 03:57:34 +00:00
parent 4328ae1d8d
commit ff2b37f6e3

View File

@@ -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()