Run InitializePreprocessor() to ensure that all macros are set up properly.
Without this, we don't end up defining things like __LP64__ for 64-bit
compilation targets.
Change-Id: I11e11bde3498089056e7a70903c8d47d1030e01a
diff --git a/slang_rs.cpp b/slang_rs.cpp
index 5a30de3..277516d 100644
--- a/slang_rs.cpp
+++ b/slang_rs.cpp
@@ -210,6 +210,7 @@
clang::Preprocessor &PP = getPreprocessor();
std::stringstream RSH;
+ RSH << PP.getPredefines();
RSH << "#define RS_VERSION " << mTargetAPI << "\n";
RSH << "#include \"rs_core." RS_HEADER_SUFFIX "\"\n";
PP.setPredefines(RSH.str());