start defining gcc types

pull/81/head
dibyendumajumdar 9 years ago
parent 4cca70e332
commit 6023cbce15

@ -24,4 +24,22 @@
#ifndef RAVI_RAVI_GCCJIT_H
#define RAVI_RAVI_GCCJIT_H
#endif //RAVI_RAVI_GCCJIT_H
#ifdef USE_GCCJIT
#include <libgccjit.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ravi_gcc_context_t ravi_gcc_context_t;
typedef struct ravi_gcc_types_t ravi_gcc_types_t;
#ifdef __cplusplus
};
#endif
#endif /* USE_GCCJIT */
#endif /* RAVI_RAVI_GCCJIT_H */

@ -24,6 +24,8 @@
#ifndef RAVI_LLVMCODEGEN_H
#define RAVI_LLVMCODEGEN_H
#ifdef USE_LLVMJIT
#include "ravijit.h"
#include "ravillvm.h"
@ -1007,3 +1009,5 @@ private:
#define RAVI_CODEGEN_FORPREP2 1
#endif
#endif

@ -23,6 +23,8 @@
#ifndef RAVI_LLVM_H
#define RAVI_LLVM_H
#ifdef USE_LLVMJIT
#include "llvm/Config/llvm-config.h"
#if (LLVM_VERSION_MAJOR != 3 || LLVM_VERSION_MINOR < 5)
@ -156,3 +158,5 @@ public:
}
#endif
#endif

Loading…
Cancel
Save