Index: runtime/szrt.cpp |
diff --git a/runtime/szrt.cpp b/runtime/szrt.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8468126afbcb011d0cd6dc31fadb0d14848b122e |
--- /dev/null |
+++ b/runtime/szrt.cpp |
@@ -0,0 +1,17 @@ |
+//===- subzero/runtime/szrt.cpp - Subzero runtime source ------------------===// |
+// |
+// The Subzero Code Generator |
+// |
+// This file is distributed under the University of Illinois Open Source |
+// License. See LICENSE.TXT for details. |
+// |
+//===----------------------------------------------------------------------===// |
+// |
+// This file is a C++ wrapper to szrt.c since g++ complains about .c |
jvoung (off chromium)
2014/09/09 21:19:33
For the comment, aren't we using clang++ instead o
Jim Stichnoth
2014/09/09 21:40:45
Ah, you're right. I was thinking of szbuild.py, b
|
+// files. |
+// |
+//===----------------------------------------------------------------------===// |
+ |
+extern "C" { |
+#include "szrt.c" |
+} |