diff --git a/src/bindings.cpp b/src/bindings.cpp index 9f2c5a0..de74808 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -182,7 +182,7 @@ void start_v8_isolate(void *dll){ #if V8_VERSION_TOTAL >= 908 isolate->SetHostImportModuleDynamicallyCallback(ResolveDynamicModuleCallback); #else - isolate->SetImportModuleDynamicallyCallback(ResolveDynamicModuleCallbackLegacy); + isolate->SetHostImportModuleDynamicallyCallback(ResolveDynamicModuleCallbackLegacy); #endif }