Index: samples/process.cc |
diff --git a/samples/process.cc b/samples/process.cc |
index 1f1f92b5f5e0fe1928a8ad926b689d1bd9caf7c1..80805d2c294935ca05890c4d2e1784dd14126417 100644 |
--- a/samples/process.cc |
+++ b/samples/process.cc |
@@ -27,6 +27,7 @@ |
#include <v8.h> |
+#include <cstring> |
#include <string> |
#include <map> |
@@ -634,6 +635,8 @@ int main(int argc, char* argv[]) { |
fprintf(stderr, "No script was specified.\n"); |
return 1; |
} |
+ V8::SetFlagsFromString("--noenable_i18n", |
+ static_cast<int>(strlen("--noenable_i18n"))); |
Isolate* isolate = Isolate::GetCurrent(); |
HandleScope scope(isolate); |
Handle<String> source = ReadFile(file); |