Skip to content

Commit ad82fd3

Browse files
kikairoyatomtor
authored andcommitted
[Cygwin] Define LLVM_ABI for Cygwin (llvm#143222)
592243c should be also applied to LLVM_ABI.
1 parent 9e46c42 commit ad82fd3

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)