From ff2b37f6e374d6c9b594747ffa1eaa267b9ca952 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 29 Jun 2001 03:57:34 +0000 Subject: [PATCH] Fix so it compiles with Cygwin [SVN r10480] --- include/boost/python/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/detail/config.hpp b/include/boost/python/detail/config.hpp index 9792695e..b6075368 100644 --- a/include/boost/python/detail/config.hpp +++ b/include/boost/python/detail/config.hpp @@ -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()