projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5457e00
)
xf86atomic: fix -Wundef warning
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Fri, 26 Jan 2018 15:10:46 +0000
(15:10 +0000)
committer
Eric Engestrom
<eric.engestrom@imgtec.com>
Mon, 29 Jan 2018 16:18:52 +0000
(16:18 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
xf86atomic.h
patch
|
blob
|
history
diff --git
a/xf86atomic.h
b/xf86atomic.h
index
922b37d
..
70e9186
100644
(file)
--- 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