Index: src/extensions/experimental/i18n-extension.cc |
=================================================================== |
--- src/extensions/experimental/i18n-extension.cc (revision 7970) |
+++ src/extensions/experimental/i18n-extension.cc (working copy) |
@@ -78,4 +78,13 @@ |
static v8::DeclareExtension i18n_extension_declaration(I18NExtension::get()); |
} |
+#ifdef V8_SHARED |
+// We end up dragging in a call to Malloc::FatalProcessOutOfMemory by including |
+// allocation.h, but that function isn't public V8 API so it's not available |
+// when v8 is build as DLL. |
+// Define it as a no-op here. |
+void Malloced::FatalProcessOutOfMemory() { |
Mads Ager (chromium)
2011/05/23 06:13:30
Why does this extension which is not a part of V8
|
+} |
+#endif |
+ |
} } // namespace v8::internal |