Index: runtime/bin/extensions.h |
diff --git a/runtime/bin/extensions.h b/runtime/bin/extensions.h |
index d4c7b33001d453f5efeca1d2a284deebeefe1688..aba3bff927beb43f2b0e013e723770521197584b 100644 |
--- a/runtime/bin/extensions.h |
+++ b/runtime/bin/extensions.h |
@@ -20,7 +20,9 @@ class Extensions { |
Dart_Handle parent_library); |
// Platform-specific implementations. |
- static void* LoadLibrary(const char* library_file); |
+ // Don't rename LoadExtensionLibrary to LoadLibrary since on Windows it |
+ // conflicts with LoadLibraryW after mangling. |
+ static void* LoadExtensionLibrary(const char* library_file); |
static void* ResolveSymbol(void* lib_handle, const char* symbol); |
static void UnloadLibrary(void* lib_handle); |