2
0
mirror of https://github.com/boostorg/system.git synced 2026-01-19 04:42:12 +00:00

Merge pull request #137 from corngood/cygwin

Use BOOST_POSIX_API on cygwin.
This commit is contained in:
Peter Dimov
2025-12-18 19:30:01 +02:00
committed by GitHub

View File

@@ -33,7 +33,7 @@
// Standalone MinGW and all other known Windows compilers do predefine _WIN32
// Compilers that predefine _WIN32 or __MINGW32__ do so for Windows 64-bit builds too.
# if defined(_WIN32) || defined(__CYGWIN__) // Windows default, including MinGW and Cygwin
# if defined(_WIN32) // Windows default, including MinGW
# define BOOST_WINDOWS_API
# else
# define BOOST_POSIX_API