projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: remove pointless assignments in init_teximage_fields_ms()
[mesa.git]
/
src
/
mesa
/
main
/
dlopen.h
diff --git
a/src/mesa/main/dlopen.h
b/src/mesa/main/dlopen.h
index 1e7784914773edfcd77d2ed2d7545ce8a4df933c..4d20ff2c7cdab2c381e745642309354aea53ed03 100644
(file)
--- a/
src/mesa/main/dlopen.h
+++ b/
src/mesa/main/dlopen.h
@@
-50,7
+50,7
@@
_mesa_dlopen(const char *libname, int flags)
#if defined(HAVE_DLOPEN)
flags = RTLD_LAZY | RTLD_GLOBAL; /* Overriding flags at this time */
return dlopen(libname, flags);
#if defined(HAVE_DLOPEN)
flags = RTLD_LAZY | RTLD_GLOBAL; /* Overriding flags at this time */
return dlopen(libname, flags);
-#elif defined(_
_MINGW32__
)
+#elif defined(_
WIN32
)
return LoadLibraryA(libname);
#else
return NULL;
return LoadLibraryA(libname);
#else
return NULL;
@@
-71,7
+71,7
@@
_mesa_dlsym(void *handle, const char *fname)
} u;
#if defined(HAVE_DLOPEN)
u.v = dlsym(handle, fname);
} u;
#if defined(HAVE_DLOPEN)
u.v = dlsym(handle, fname);
-#elif defined(_
_MINGW32__
)
+#elif defined(_
WIN32
)
u.v = (void *) GetProcAddress(handle, fname);
#else
u.v = NULL;
u.v = (void *) GetProcAddress(handle, fname);
#else
u.v = NULL;
@@
-87,7
+87,7
@@
_mesa_dlclose(void *handle)
{
#if defined(HAVE_DLOPEN)
dlclose(handle);
{
#if defined(HAVE_DLOPEN)
dlclose(handle);
-#elif defined(_
_MINGW32__
)
+#elif defined(_
WIN32
)
FreeLibrary(handle);
#else
(void) handle;
FreeLibrary(handle);
#else
(void) handle;