1--- boost_1_40_0/boost/python/detail/config.hpp 2007-11-25 12:07:19.000000000 -0600
2+++ boost_1_40_0/boost/python/detail/config.hpp 2009-08-27 23:41:34.092545400 -0500
3@@ -83,7 +83,7 @@
4 # endif
5 # define BOOST_PYTHON_DECL_FORWARD
6 # define BOOST_PYTHON_DECL_EXCEPTION __attribute__ ((__visibility__("default")))
7-# elif (defined(_WIN32) || defined(__CYGWIN__))
8+# elif defined(_WIN32)
9 # if defined(BOOST_PYTHON_SOURCE)
10 # define BOOST_PYTHON_DECL __declspec(dllexport)
11 # define BOOST_PYTHON_BUILD_DLL
12--- boost_1_40_0/boost/python/detail/wrap_python.hpp 2007-04-27 17:16:47.000000000 -0500
13+++ boost_1_40_0/boost/python/detail/wrap_python.hpp 2009-08-27 23:41:34.096545600 -0500
14@@ -82,8 +82,8 @@
15 // Some things we need in order to get Python.h to work with compilers other
16 // than MSVC on Win32
17 //
18-#if defined(_WIN32) || defined(__CYGWIN__)
19-# if defined(__GNUC__) && defined(__CYGWIN__)
20+#if defined(_WIN32)
21+# if defined(__GNUC__)
22
23 # define SIZEOF_LONG 4
24
25--- boost_1_40_0/boost/python/module_init.hpp 2007-06-07 13:08:54.000000000 -0500
26+++ boost_1_40_0/boost/python/module_init.hpp 2009-08-27 23:41:34.101545900 -0500
27@@ -15,7 +15,7 @@ BOOST_PYTHON_DECL void init_module(char
28
29 }}}
30
31-# if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(BOOST_PYTHON_STATIC_MODULE)
32+# if defined(_WIN32) && !defined(BOOST_PYTHON_STATIC_MODULE)
33
34 # define BOOST_PYTHON_MODULE_INIT(name) \
35 void init_module_##name(); \