Message ID | 20180126164552.5473-13-eric.engestrom@imgtec.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 26 January 2018 at 16:45, Eric Engestrom <eric.engestrom@imgtec.com> wrote: > Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> > --- > xf86atomic.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xf86atomic.h b/xf86atomic.h > index 922b37da62517bc1ee2f..70e918663c3b015f2881 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 > The series is Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Unrelated: I've been wondering if/how many libkms users there are and if we could nuke it. It will drop a fair bit of build magic ;-) -Emil
diff --git a/xf86atomic.h b/xf86atomic.h index 922b37da62517bc1ee2f..70e918663c3b015f2881 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
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> --- xf86atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)