diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm-c/Linker.h')
| -rw-r--r-- | contrib/llvm-project/llvm/include/llvm-c/Linker.h | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm-c/Linker.h b/contrib/llvm-project/llvm/include/llvm-c/Linker.h index 908513041661..1ad9cc958753 100644 --- a/contrib/llvm-project/llvm/include/llvm-c/Linker.h +++ b/contrib/llvm-project/llvm/include/llvm-c/Linker.h @@ -14,11 +14,10 @@  #ifndef LLVM_C_LINKER_H  #define LLVM_C_LINKER_H +#include "llvm-c/ExternC.h"  #include "llvm-c/Types.h" -#ifdef __cplusplus -extern "C" { -#endif +LLVM_C_EXTERN_C_BEGIN  /* This enum is provided for backwards-compatibility only. It has no effect. */  typedef enum { @@ -34,8 +33,6 @@ typedef enum {  */  LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src); -#ifdef __cplusplus -} -#endif +LLVM_C_EXTERN_C_END  #endif  | 
