From d7c832b8137cb459ce912da6125686b3359243d3 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 20 May 2016 16:38:42 -0400 Subject: [PATCH] Remove ILP32 from CRYPTOPP_L1_CACHE_LINE_SIZE. Clang defines it for all 32-bit data models, and not just X32 --- config.h | 2 +- config.recommend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index f67dbb5a..820f476d 100644 --- a/config.h +++ b/config.h @@ -292,7 +292,7 @@ NAMESPACE_END #ifndef CRYPTOPP_L1_CACHE_LINE_SIZE // This should be a lower bound on the L1 cache line size. It's used for defense against timing attacks. // Also see http://stackoverflow.com/questions/794632/programmatically-get-the-cache-line-size. - #if defined(_M_X64) || defined(__x86_64__) || (__ILP32__ >= 1) || (__arm64__) || (__aarch64__) + #if defined(_M_X64) || defined(__x86_64__) || (__arm64__) || (__aarch64__) #define CRYPTOPP_L1_CACHE_LINE_SIZE 64 #else // L1 cache line size is 32 on Pentium III and earlier diff --git a/config.recommend b/config.recommend index 3aa71f2d..fa6d2800 100644 --- a/config.recommend +++ b/config.recommend @@ -292,7 +292,7 @@ NAMESPACE_END #ifndef CRYPTOPP_L1_CACHE_LINE_SIZE // This should be a lower bound on the L1 cache line size. It's used for defense against timing attacks. // Also see http://stackoverflow.com/questions/794632/programmatically-get-the-cache-line-size. - #if defined(_M_X64) || defined(__x86_64__) || (__ILP32__ >= 1) || (__arm64__) || (__aarch64__) + #if defined(_M_X64) || defined(__x86_64__) || (__arm64__) || (__aarch64__) #define CRYPTOPP_L1_CACHE_LINE_SIZE 64 #else // L1 cache line size is 32 on Pentium III and earlier