mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 20:37:15 +02:00
Fix for cygwin symbol visibility - sometimes _WIN32 may be defined even on cygwin.
Fixes #4670. [SVN r65530]
This commit is contained in:
@ -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