Skip to content

Commit 60d0004

Browse files
authored
[Cygwin] Define LLVM_ABI for Cygwin (#143222)
592243c should be also applied to LLVM_ABI.
1 parent 52a6492 commit 60d0004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/Compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
#define LLVM_ABI_FRIEND LLVM_ABI
210210
#define LLVM_ABI_EXPORT __declspec(dllexport)
211211
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || \
212-
defined(__MVS__)
212+
defined(__MVS__) || defined(__CYGWIN__)
213213
#define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
214214
#define LLVM_ABI_FRIEND
215215
#define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT

0 commit comments

Comments
 (0)