summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/gdi/InitCritSections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/windows/gdi/InitCritSections.cpp')
-rw-r--r--src/mesa/drivers/windows/gdi/InitCritSections.cpp5
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 7145bffa510..69f03b8e47c 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 */