Skip to content

Commit

Permalink
Fix symbol visibility macros not being define for AIX
Browse files Browse the repository at this point in the history
  • Loading branch information
fsfod committed Sep 7, 2024
1 parent 11eae67 commit 052e5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/Support/Compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
#define LLVM_TEMPLATE_ABI __declspec(dllimport)
#define LLVM_EXPORT_TEMPLATE
#endif
#elif defined(__ELF__) || defined(__MINGW32__)
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX)
#define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
#define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
#define LLVM_EXPORT_TEMPLATE
Expand Down

0 comments on commit 052e5ec

Please sign in to comment.