From: Eric Engestrom Date: Fri, 26 Jan 2018 15:10:46 +0000 (+0000) Subject: xf86atomic: fix -Wundef warning X-Git-Tag: libdrm-2.4.90~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d50a404f6b00117b477766ccd078973933aedc3;p=platform%2Fupstream%2Flibdrm.git xf86atomic: fix -Wundef warning Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov Reviewed-by: Dylan Baker --- diff --git a/xf86atomic.h b/xf86atomic.h index 922b37d..70e9186 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