From: José Fonseca Date: Thu, 8 Jan 2009 12:04:03 +0000 (+0000) Subject: mesa: Fix windows build when UNICODE is defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca337076b3be03469f0170c1bf85d9611831886c;p=mesa.git mesa: Fix windows build when UNICODE is defined. --- diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c index becef8173ef..8bc83c094fd 100644 --- a/src/mesa/main/dlopen.c +++ b/src/mesa/main/dlopen.c @@ -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