mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Use standard __CYGWIN__ define for Cygwin detection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user