summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlopen.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-08 12:04:03 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-08 12:04:03 +0000
commitca337076b3be03469f0170c1bf85d9611831886c (patch)
tree8f1b9d5e7ff290bd357e1774a39f0068b5669992 /src/mesa/main/dlopen.c
parent374cf77b2f0f13f9380fb0c9d804222a83bdc2e0 (diff)
mesa: Fix windows build when UNICODE is defined.
Diffstat (limited to 'src/mesa/main/dlopen.c')
-rw-r--r--src/mesa/main/dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index becef8173e..8bc83c094f 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