diff -dur boost_1_44_0.unpatched/boost/config/compiler/gcc.hpp boost_1_44_0/boost/config/compiler/gcc.hpp --- boost_1_44_0.unpatched/boost/config/compiler/gcc.hpp 2010-07-01 04:59:21.000000000 -0700 +++ boost_1_44_0/boost/config/compiler/gcc.hpp 2010-09-21 14:57:34.481869800 -0700 @@ -113,7 +113,7 @@ // Dynamic shared object (DSO) and dynamic-link library (DLL) support // #if __GNUC__ >= 4 -# if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__CYGWIN__) // temp // All Win32 development environments, including 64-bit Windows and MinGW, define // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, // so does not define _WIN32 or its variants.