summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-03-18 13:27:53 +0000
committerKeith Whitwell <keithw@vmware.com>2009-03-18 13:27:53 +0000
commit33c1bec73bb8e8dd3b989952320ddc3c5485be92 (patch)
treed41781a7d1eb5227fdbf1438d83c29765e1b656e /src
parent0c550b0425409c6cfa745257dc12e9758d9b3df0 (diff)
pipe/atomic: dont use ms interlock calls from gcc
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/pipe/p_atomic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_atomic.h b/src/gallium/include/pipe/p_atomic.h
index 1f1470e19a..f2fe083efa 100644
--- a/src/gallium/include/pipe/p_atomic.h
+++ b/src/gallium/include/pipe/p_atomic.h
@@ -24,7 +24,8 @@ extern "C" {
defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT))
#define PIPE_ATOMIC_OS_MS_INTERLOCK \
- (!PIPE_ATOMIC_OS_UNLOCKED && \
+ (!defined(PIPE_CC_GCC) && \
+ !PIPE_ATOMIC_OS_UNLOCKED && \
defined(PIPE_SUBSYSTEM_WINDOWS_USER))
#define PIPE_ATOMIC_OS_PROVIDED \