changeset 14972:457eb974310b

src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
author Max Brister <max@2bass.com>
date Mon, 25 Jun 2012 17:26:28 -0500
parents b23a98ca0e43
children 2960f1b2d6ea
files src/TEMPLATE-INST/Array-jit.cc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/TEMPLATE-INST/Array-jit.cc	Mon Jun 25 16:26:00 2012 -0500
+++ b/src/TEMPLATE-INST/Array-jit.cc	Mon Jun 25 17:26:28 2012 -0500
@@ -24,6 +24,8 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_LLVM
+
 #include "Array.h"
 #include "Array.cc"
 
@@ -32,3 +34,5 @@
 NO_INSTANTIATE_ARRAY_SORT (jit_function::overload);
 
 INSTANTIATE_ARRAY (jit_function::overload, OCTINTERP_API);
+
+#endif