diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-12-02 17:27:05 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-12-02 17:35:03 +0000 |
commit | e3659329e0b91ea78afe32e231f2f75d3d728af9 (patch) | |
tree | aeee753d498c148238dbfc9531255078eebbaf60 /src/mesa/drivers | |
parent | af4f75c8fe1c53b8def966f480e7fda8021f1b63 (diff) |
WIN32_THREADS -> WIN32
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS
and were using the integer mutex implementation, causing even confusion
to the debuggers.
And there is little interest of other thread implemenation on Win32
besides Win32 threads.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/windows/gdi/InitCritSections.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/gdi/InitCritSections.cpp b/src/mesa/drivers/windows/gdi/InitCritSections.cpp index 7145bffa51..69f03b8e47 100644 --- a/src/mesa/drivers/windows/gdi/InitCritSections.cpp +++ b/src/mesa/drivers/windows/gdi/InitCritSections.cpp @@ -1,7 +1,8 @@ #include "glapi.h" #include "glThread.h" -#ifdef WIN32_THREADS +#ifdef WIN32 + extern "C" _glthread_Mutex OneTimeLock; extern "C" _glthread_Mutex GenTexturesLock; @@ -29,4 +30,4 @@ public: _CriticalSectionInit _CriticalSectionInit::m_inst; -#endif +#endif /* WIN32 */ |