1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Make sure LLVMLoadLibraryPermanently gets an extern "C" symbol.

Otherwise it's impossible to use it. Also don't include C++ headers in
a C header.

llvm-svn: 194581
This commit is contained in:
Benjamin Kramer 2013-11-13 15:35:13 +00:00
parent 927745059f
commit 3bed3b6cb7
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@
#define LLVM_C_SUPPORT_H
#include "llvm-c/Core.h"
#include "llvm/Support/DynamicLibrary.h"
#ifdef __cplusplus
extern "C" {

View File

@ -19,7 +19,7 @@
#include "llvm/ADT/StringMap.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Mutex.h"
#include "llvm-c/Core.h"
#include "llvm-c/Support.h"
#include <cstdio>
#include <cstring>