aboutsummaryrefslogtreecommitdiff
path: root/src/relooper/Relooper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/relooper/Relooper.cpp')
-rw-r--r--src/relooper/Relooper.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/relooper/Relooper.cpp b/src/relooper/Relooper.cpp
index 0b4284bc..d2a48f63 100644
--- a/src/relooper/Relooper.cpp
+++ b/src/relooper/Relooper.cpp
@@ -6,7 +6,12 @@
#include <list>
#include <stack>
+#if EMSCRIPTEN
#include "ministring.h"
+#else
+#include <string>
+typedef std::string ministring;
+#endif
template <class T, class U> bool contains(const T& container, const U& contained) {
return container.find(contained) != container.end();
@@ -66,11 +71,7 @@ static int AsmJS = 0;
// Indenter
-#if EMSCRIPTEN
int Indenter::CurrIndent = 1;
-#else
-int Indenter::CurrIndent = 0;
-#endif
// Branch