summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-04-17 17:02:34 +0200
committerMichel Dänzer <[email protected]>2009-04-17 17:02:34 +0200
commit3b760729158ff39a40688980d7a823b006e0a31a (patch)
tree87c45d382485d8f7fd7024b06e25f4cc4afa5cf0 /src/gallium/include/pipe
parent047efcd050a92687403952910de4fded3df46964 (diff)
gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_atomic.h b/src/gallium/include/pipe/p_atomic.h
index a963267e264..ed5f665512d 100644
--- a/src/gallium/include/pipe/p_atomic.h
+++ b/src/gallium/include/pipe/p_atomic.h
@@ -33,7 +33,7 @@ extern "C" {
#elif (defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86))
#define PIPE_ATOMIC_ASM_GCC_X86
#elif defined(PIPE_CC_GCC)
-#define PIPE_ATOMIC_GCC_INTRINISIC
+#define PIPE_ATOMIC_GCC_INTRINSIC
#else
#define PIPE_ATOMIC_MUTEX
#endif
@@ -86,7 +86,7 @@ p_atomic_cmpxchg(struct pipe_atomic *v, int32_t old, int32_t _new)
/* Implementation using GCC-provided synchronization intrinsics
*/
-#if defined(PIPE_ATOMIC_ASM_GCC_INTRINSIC)
+#if defined(PIPE_ATOMIC_GCC_INTRINSIC)
#define PIPE_ATOMIC "GCC Sync Intrinsics"