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	Sat Aug 03 10:05:07 2013 -0700
+++ b/libinterp/corefcn/jit-util.h	Sat Aug 03 16:53:46 2013 -0600
@@ -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