Skip to content

Commit 1c772d7

Browse files
kikairoyajeremyd2019
authored andcommitted
[Cygwin] Define LLVM_ABI for Cygwin (llvm#143222)
592243c should be also applied to LLVM_ABI.
1 parent 4a70ba2 commit 1c772d7

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
@@ -198,7 +198,7 @@
198198
#endif
199199
#define LLVM_ABI_EXPORT __declspec(dllexport)
200200
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || \
201-
defined(__MVS__)
201+
defined(__MVS__) || defined(__CYGWIN__)
202202
#define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
203203
#define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
204204
#define LLVM_EXPORT_TEMPLATE

0 commit comments

Comments
 (0)