summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/xf86atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/xf86atomic.h')
-rw-r--r--src/mesa/drivers/dri/i965/xf86atomic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/xf86atomic.h b/src/mesa/drivers/dri/i965/xf86atomic.h
index 922b37da625..a0e39092d12 100644
--- a/src/mesa/drivers/dri/i965/xf86atomic.h
+++ b/src/mesa/drivers/dri/i965/xf86atomic.h
@@ -38,8 +38,6 @@
#include "config.h"
#endif
-#if HAVE_LIBDRM_ATOMIC_PRIMITIVES
-
#define HAS_ATOMIC_OPS 1
typedef struct {
@@ -113,5 +111,3 @@ static inline int atomic_add_unless(atomic_t *v, int add, int unless)
c = old;
return c == unless;
}
-
-#endif