Mesa (master): pipe/atomic: dont use ms interlock calls from gcc
Keith Whitwell
keithw at kemper.freedesktop.org
Wed Mar 18 13:28:03 UTC 2009
Module: Mesa
Branch: master
Commit: 33c1bec73bb8e8dd3b989952320ddc3c5485be92
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33c1bec73bb8e8dd3b989952320ddc3c5485be92
Author: Keith Whitwell <keithw at vmware.com>
Date: Wed Mar 18 13:27:53 2009 +0000
pipe/atomic: dont use ms interlock calls from gcc
---
src/gallium/include/pipe/p_atomic.h | 3 ++-
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 1f1470e..f2fe083 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 \
More information about the mesa-commit
mailing list