forked from boostorg/config
Fix for cygwin symbol visibility - sometimes _WIN32 may be defined even on cygwin.
Fixes #4670. [SVN r65530]
This commit is contained in:
1 parent
dca79a5e17
commit
c02ec6995d
1 file changed
+1
-1
@@ -115,7 +115,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__)
|
||||
// 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.
|
||||
|
||||
Reference in new issue
Block a user