summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-02-23 11:24:46 +0000
committerJosé Fonseca <[email protected]>2009-02-23 11:24:46 +0000
commit1456af2f2d7602a1f1fca54d8fe625e25851e441 (patch)
tree80e326a9c48f09682349c0c9dca08835d1d0b37d /src
parentddc6ee316cd7ca07853efc615cd2681f3a1232d4 (diff)
mesa: Fix windows build.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/glapi/glthread.h6
-rw-r--r--src/mesa/main/dlopen.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h
index ae2f79f37dd..4da31e5738e 100644
--- a/src/mesa/glapi/glthread.h
+++ b/src/mesa/glapi/glthread.h
@@ -299,11 +299,11 @@ typedef benaphore _glthread_Mutex;
* THREADS not defined
*/
-typedef GLuint _glthread_TSD;
+typedef unsigned _glthread_TSD;
-typedef GLuint _glthread_Thread;
+typedef unsigned _glthread_Thread;
-typedef GLuint _glthread_Mutex;
+typedef unsigned _glthread_Mutex;
#define _glthread_DECLARE_STATIC_MUTEX(name) static _glthread_Mutex name = 0
diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index 0fc0c21e94a..338246bb59b 100644
--- a/src/mesa/main/dlopen.c
+++ b/src/mesa/main/dlopen.c
@@ -33,6 +33,9 @@
#if defined(_GNU_SOURCE) && !defined(__MINGW32__)
#include <dlfcn.h>
#endif
+#if defined(_WIN32)
+#include <windows.h>
+#endif
/**