summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-01-26 15:10:46 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-01-29 16:18:52 +0000
commit2d50a404f6b00117b477766ccd078973933aedc3 (patch)
tree937f77c949abbc5fb9dfee0b33aa4104602c9511
parent5457e0082df2516ee20f2f08370eb063675e4de3 (diff)
xf86atomic: fix -Wundef warning
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--xf86atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86atomic.h b/xf86atomic.h
index 922b37da..70e91866 100644
--- a/xf86atomic.h
+++ b/xf86atomic.h
@@ -101,7 +101,7 @@ typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t;
#endif
-#if ! HAS_ATOMIC_OPS
+#if !defined(HAS_ATOMIC_OPS)
#error libdrm requires atomic operations, please define them for your CPU/compiler.
#endif