summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/xf86drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/xf86drm.h')
-rw-r--r--hw/xfree86/os-support/xf86drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/xf86drm.h b/hw/xfree86/os-support/xf86drm.h
index 7521e3415..d2ca95791 100644
--- a/hw/xfree86/os-support/xf86drm.h
+++ b/hw/xfree86/os-support/xf86drm.h
@@ -287,7 +287,7 @@ typedef struct _drmSetVersion {
#define DRM_LOCK_CONT 0x40000000U /**< Hardware lock is contended */
#if defined(__GNUC__) && (__GNUC__ >= 2)
-# if defined(__i386) || defined(__AMD64__)
+# if defined(__i386) || defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__)
/* Reflect changes here to drmP.h */
#define DRM_CAS(lock,old,new,__ret) \
do { \