Fixed aarch64 support for gcc
[libcds.git] / cds / compiler / gcc / compiler_macro.h
index b65e99eafe6ae6216a8eccafcbd6a6f9f18c7807..6eb056569111bf6217b3a1b80cdab914718258e5 100644 (file)
@@ -1,7 +1,7 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
 #    define CDS_BUILD_BITS        32
 #    define CDS_PROCESSOR__NAME   "ARM v7"
 #    define CDS_PROCESSOR__NICK   "arm7"
-#elif defined(__arm__) && __ARM_ARCH >= 8
+#elif ( defined(__arm__)  || defined(__aarch64__)) && __ARM_ARCH >= 8
 #    define CDS_PROCESSOR_ARCH    CDS_PROCESSOR_ARM8
 #    define CDS_BUILD_BITS        64
 #    define CDS_PROCESSOR__NAME   "ARM v8"