projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92a2ea
)
Fix the non-llvm build.
author
Zoltan Varga
<vargaz@gmail.com>
Mon, 26 Oct 2015 17:52:29 +0000
(13:52 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Mon, 26 Oct 2015 17:52:29 +0000
(13:52 -0400)
mono/mini/llvm-runtime.cpp
patch
|
blob
|
history
diff --git
a/mono/mini/llvm-runtime.cpp
b/mono/mini/llvm-runtime.cpp
index bb4e000d61226e589122900e69ee9ad540551e02..5dcb8d1488b223474f615352c0186f53e99dee8a 100644
(file)
--- a/
mono/mini/llvm-runtime.cpp
+++ b/
mono/mini/llvm-runtime.cpp
@@
-1,7
+1,10
@@
+#include <config.h>
#include "llvm-runtime.h"
#include <glib.h>
+#if defined(ENABLE_LLVM_RUNTIME) || defined(ENABLE_LLVM)
+
extern "C" {
void
@@
-14,3
+17,17
@@
mono_llvm_cpp_throw_exception (void)
}
}
+
+#else
+
+extern "C" {
+
+void
+mono_llvm_cpp_throw_exception (void)
+{
+ g_assert_not_reached ();
+}
+
+}
+
+#endif /* ENABLE_LLVM_RUNTIME */