projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b2f1d
)
util: Use GCC atomic bultins on GCC 4.1 and higher only.
author
Vinson Lee
<vlee@vmware.com>
Sat, 3 Apr 2010 19:14:21 +0000
(12:14 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 3 Apr 2010 19:14:21 +0000
(12:14 -0700)
src/gallium/auxiliary/util/u_atomic.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_atomic.h
b/src/gallium/auxiliary/util/u_atomic.h
index 3c42477ad4f421f1adec805dd5f30e8a1e2adc0e..a156823390619427ce13852925c58027a2d1c835 100644
(file)
--- a/
src/gallium/auxiliary/util/u_atomic.h
+++ b/
src/gallium/auxiliary/util/u_atomic.h
@@
-29,7
+29,7
@@
#define PIPE_ATOMIC_ASM_MSVC_X86
#elif (defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86))
#define PIPE_ATOMIC_ASM_GCC_X86
-#elif defined(PIPE_CC_GCC)
+#elif defined(PIPE_CC_GCC)
&& (PIPE_CC_GCC_VERSION >= 401)
#define PIPE_ATOMIC_GCC_INTRINSIC
#else
#error "Unsupported platform"