diff --git a/v8_5_7/src/libplatform/default-platform-wrap.cc b/v8_5_7/src/libplatform/default-platform-wrap.cc new file mode 100644 index 0000000000..0760cb1db6 --- /dev/null +++ b/v8_5_7/src/libplatform/default-platform-wrap.cc @@ -0,0 +1,12 @@ + +#include "default-platform-wrap.h" +#include "default-platform.h" +#include "include/v8.h" + +namespace v8 { + +void InitializeDefaultPlatform() { + v8::V8::InitializePlatform(new v8::platform::DefaultPlatform()); +} + +} \ No newline at end of file diff --git a/v8_5_7/src/libplatform/default-platform-wrap.h b/v8_5_7/src/libplatform/default-platform-wrap.h new file mode 100644 index 0000000000..780564a12d --- /dev/null +++ b/v8_5_7/src/libplatform/default-platform-wrap.h @@ -0,0 +1,11 @@ + +#ifndef libplatform_default_platform_wrap_h +#define libplatform_default_platform_wrap_h + +namespace v8 { +void InitializeDefaultPlatform(); +} + + + +#endif // libplatform_default_platform_wrap_h \ No newline at end of file