diff options
author | Brian Paul <[email protected]> | 2000-02-11 21:38:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-11 21:38:33 +0000 |
commit | fa937f611a5fc8588acc854eaa83e5378f56b052 (patch) | |
tree | 335e25e61af75738082f89c8a5e3c6b1bc0d7537 | |
parent | af763d5e4379f6dc3b48fdf76332ffa31a44a5bc (diff) |
fixed WIN32_THREADS error
-rw-r--r-- | src/mesa/glapi/glthread.c | 6 | ||||
-rw-r--r-- | src/mesa/glapi/glthread.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/glapi/glthread.c b/src/mesa/glapi/glthread.c index 66f801535e8..b9c8506516f 100644 --- a/src/mesa/glapi/glthread.c +++ b/src/mesa/glapi/glthread.c @@ -1,4 +1,4 @@ -/* $Id: glthread.c,v 1.5 2000/02/10 21:54:06 brianp Exp $ */ +/* $Id: glthread.c,v 1.6 2000/02/11 21:38:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -189,7 +189,7 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr) * Be sure that you compile using the Multithreaded runtime, otherwise * bad things will happen. */ -#ifdef WIN32 +#ifdef WIN32_THREADS unsigned long _glthread_GetID(void) @@ -239,7 +239,7 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr) } } -#endif /* WIN32 */ +#endif /* WIN32_THREADS */ diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h index 0891f94df6b..b31b5794059 100644 --- a/src/mesa/glapi/glthread.h +++ b/src/mesa/glapi/glthread.h @@ -1,4 +1,4 @@ -/* $Id: glthread.h,v 1.4 2000/02/10 21:54:06 brianp Exp $ */ +/* $Id: glthread.h,v 1.5 2000/02/11 21:38:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -146,7 +146,7 @@ typedef mutex_t _glthread_Mutex; * IMPORTANT: Link with multithreaded runtime library when THREADS are * used! */ -#ifdef WIN32 +#ifdef WIN32_THREADS #include <windows.h> typedef struct { @@ -164,7 +164,7 @@ typedef CRITICAL_SECTION _glthread_Mutex; #define _glthread_LOCK_MUTEX(name) (void) name #define _glthread_UNLOCK_MUTEX(name) (void) name -#endif /* WIN32 */ +#endif /* WIN32_THREADS */ |