-/* $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
* Be sure that you compile using the Multithreaded runtime, otherwise
* bad things will happen.
*/
-#ifdef WIN32
+#ifdef WIN32_THREADS
unsigned long
_glthread_GetID(void)
}
}
-#endif /* WIN32 */
+#endif /* WIN32_THREADS */
-/* $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
* IMPORTANT: Link with multithreaded runtime library when THREADS are
* used!
*/
-#ifdef WIN32
+#ifdef WIN32_THREADS
#include <windows.h>
typedef struct {
#define _glthread_LOCK_MUTEX(name) (void) name
#define _glthread_UNLOCK_MUTEX(name) (void) name
-#endif /* WIN32 */
+#endif /* WIN32_THREADS */