Skip to content

Commit bb57a22

Browse files
authored
Merge pull request #2982 from BenLeggiero/TargetConditionals-add-missing-cygwin
Added missing `TARGET_OS_CYGWIN` defines to TargetConditionals.h
2 parents 931dd5f + 16fc0ff commit bb57a22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CoreFoundation/Base.subproj/SwiftRuntime/TargetConditionals.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,23 @@
112112
#define TARGET_OS_WINDOWS 1
113113
#define TARGET_OS_BSD 0
114114
#define TARGET_OS_ANDROID 0
115+
#define TARGET_OS_CYGWIN 0
115116
#define TARGET_OS_WASI 0
116117
#elif __unix__
117118
#define TARGET_OS_DARWIN 0
118119
#define TARGET_OS_LINUX 0
119120
#define TARGET_OS_WINDOWS 0
120121
#define TARGET_OS_BSD 1
121122
#define TARGET_OS_ANDROID 0
123+
#define TARGET_OS_CYGWIN 0
122124
#define TARGET_OS_WASI 0
123125
#elif __wasi__
124126
#define TARGET_OS_DARWIN 0
125127
#define TARGET_OS_LINUX 0
126128
#define TARGET_OS_WINDOWS 0
127129
#define TARGET_OS_BSD 0
128130
#define TARGET_OS_ANDROID 0
131+
#define TARGET_OS_CYGWIN 0
129132
#define TARGET_OS_WASI 1
130133
#else
131134
#error unknown operating system

0 commit comments

Comments
 (0)