Skip to content

Commit dca5899

Browse files
author
Muiez
committed
[z/OS] Define CLANG_ABI
1 parent 6e535a9 commit dca5899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Support/Compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#define CLANG_TEMPLATE_ABI __declspec(dllimport)
5050
#define CLANG_EXPORT_TEMPLATE
5151
#endif
52-
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX)
52+
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || defined(__MVS__)
5353
#define CLANG_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
5454
#define CLANG_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
5555
#define CLANG_EXPORT_TEMPLATE

llvm/include/llvm/Support/Compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
#define LLVM_EXPORT_TEMPLATE
198198
#endif
199199
#define LLVM_ABI_EXPORT __declspec(dllexport)
200-
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX)
200+
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || defined(__MVS__)
201201
#define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
202202
#define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
203203
#define LLVM_EXPORT_TEMPLATE

0 commit comments

Comments
 (0)