Mercurial > hg > octave-nkf
diff libinterp/corefcn/jit-util.h @ 17164:36fd98b9ce48
Add support for llvm 3.3
* configure.ac: Add check for LLVM IR directory.
* jit-ir.cc: Update includes.
* jit-util.h: Define HAVE_LLVM_DATALAYOUT.
* jit-typeinfo.cc: Update includes.
* pt-jit.cc: Update includes.
* acinclude.m4: Update checks for llvm 3.3
author | Max Brister <max@2bass.com> |
---|---|
date | Sat, 03 Aug 2013 16:53:46 -0600 |
parents | 68fc671a9339 |
children | d63878346099 |
line wrap: on
line diff
--- a/libinterp/corefcn/jit-util.h +++ b/libinterp/corefcn/jit-util.h @@ -31,6 +31,10 @@ #include <stdexcept> +#if defined(HAVE_LLVM_IR_DATALAYOUT_H) || defined(HAVE_LLVM_DATALAYOUT_H) +#define HAVE_LLVM_DATALAYOUT +#endif + // we don't want to include llvm headers here, as they require // __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS be defined in the entire // compilation unit