diff options
author | Brad King <brad.king@kitware.com> | 2017-06-21 12:37:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-21 12:37:17 (GMT) |
commit | 1ac07c71d8b410a9c1fedb4854786890b05e7ae0 (patch) | |
tree | d53f27ed62b6c500b5e1596a8ae9fc138f7bbc3d | |
parent | 2beac8991bea8aaa6e168c51605564997b1c4fcc (diff) | |
parent | 72ccb9f499a09bae84cf7ee1f148926f68aace3f (diff) | |
download | CMake-1ac07c71d8b410a9c1fedb4854786890b05e7ae0.zip CMake-1ac07c71d8b410a9c1fedb4854786890b05e7ae0.tar.gz CMake-1ac07c71d8b410a9c1fedb4854786890b05e7ae0.tar.bz2 |
Merge topic 'CheckTypeSize-arm-archs'
72ccb9f4 CheckTypeSize: Add support for arm architectures
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !989
-rw-r--r-- | Modules/CheckTypeSize.c.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CheckTypeSize.c.in b/Modules/CheckTypeSize.c.in index b6c3688..2303c4e 100644 --- a/Modules/CheckTypeSize.c.in +++ b/Modules/CheckTypeSize.c.in @@ -9,6 +9,12 @@ # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' +#elif defined(__aarch64__) +# define KEY '_','_','a','a','r','c','h','6','4','_','_' +#elif defined(__ARM_ARCH_7A__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' +#elif defined(__ARM_ARCH_7S__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(@type@)) |