From: José Fonseca Date: Thu, 8 Jan 2009 12:04:03 +0000 (+0000) Subject: mesa: Fix windows build when UNICODE is defined. X-Git-Tag: mesa-7.8~4139^2~496^2~133^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca337076b3be03469f0170c1bf85d9611831886c;p=platform%2Fupstream%2Fmesa.git mesa: Fix windows build when UNICODE is defined. --- diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c index becef81..8bc83c0 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