Define LLVM_ABI and CLANG_ABI for EMSCRIPTEN builds (#131578) · llvm/llvm-project@58df0ef (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@
54 54 #define CLANG_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
55 55 #define CLANG_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
56 56 #define CLANG_EXPORT_TEMPLATE
57 -#elif defined(__MACH__) |
57 +#elif defined(__MACH__) |
58 58 #define CLANG_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
59 59 #define CLANG_TEMPLATE_ABI
60 60 #define CLANG_EXPORT_TEMPLATE
Original file line number Diff line number Diff line change
@@ -203,7 +203,7 @@
203 203 #define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
204 204 #define LLVM_EXPORT_TEMPLATE
205 205 #define LLVM_ABI_EXPORT LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
206 -#elif defined(__MACH__) |
206 +#elif defined(__MACH__) |
207 207 #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
208 208 #define LLVM_TEMPLATE_ABI
209 209 #define LLVM_EXPORT_TEMPLATE