From 84dc4429fc3a43614098d40d2afefef7e89d7a2f Mon Sep 17 00:00:00 2001 From: Zack Radisic <56137411+zackradisic@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:27:16 -0800 Subject: [PATCH] woops --- src/bun.js/bindings/JSBundlerPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/bindings/JSBundlerPlugin.cpp b/src/bun.js/bindings/JSBundlerPlugin.cpp index d3277678c8..61b2956c8d 100644 --- a/src/bun.js/bindings/JSBundlerPlugin.cpp +++ b/src/bun.js/bindings/JSBundlerPlugin.cpp @@ -370,7 +370,7 @@ JSC_DEFINE_HOST_FUNCTION(jsBundlerPluginFunction_onBeforeParse, (JSC::JSGlobalOb CString utf8 = on_before_parse_symbol.utf8(); #if OS(WINDOWS) - void* on_before_parse_symbol_ptr = dlsym((HMODULE)dlopen_handle, utf8.data()); + void* on_before_parse_symbol_ptr = GetProcAddress((HMODULE)dlopen_handle, utf8.data()); #else void* on_before_parse_symbol_ptr = dlsym(dlopen_handle, utf8.data()); #endif