mesa: Fix windows build when UNICODE is defined.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Jan 2009 12:04:03 +0000 (12:04 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Jan 2009 12:04:03 +0000 (12:04 +0000)
src/mesa/main/dlopen.c

index becef8173ef7964fa22e29f8dfdd52899cc05a97..8bc83c094fd736f84451de19779eb2f276ea0439 100644 (file)
@@ -48,7 +48,7 @@ _mesa_dlopen(const char *libname, int flags)
    flags = RTLD_LAZY | RTLD_GLOBAL; /* Overriding flags at this time */
    return dlopen(libname, flags);
 #elif defined(__MINGW32__)
-   return LoadLibrary(libname);
+   return LoadLibraryA(libname);
 #else
    return NULL;
 #endif