Use standard __CYGWIN__ define for Cygwin detection

This commit is contained in:
Mahmoud Al-Qudsi
2019-01-21 20:06:16 -06:00
parent 3115446a07
commit 462cb6044c
3 changed files with 1 additions and 9 deletions

View File

@@ -949,7 +949,7 @@ constexpr bool is_windows_subsystem_for_linux() {
/// Detect if we are running under Cygwin or Cgywin64
constexpr bool is_cygwin() {
#ifdef CYGWIN
#ifdef __CYGWIN__
return true;
#else
return false;