add options for x86_64 and amd will small letters
authorDave Airlie <airlied@linux.ie>
Tue, 23 Aug 2005 04:10:50 +0000 (04:10 +0000)
committerDave Airlie <airlied@linux.ie>
Tue, 23 Aug 2005 04:10:50 +0000 (04:10 +0000)
libdrm/xf86drm.h

index 7521e34..d2ca957 100644 (file)
@@ -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 {                                                           \