diff options
author | lloyd <[email protected]> | 2010-11-29 15:43:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-29 15:43:23 +0000 |
commit | 1177c72125238ff5425c93b63624ca00b8b6a7ec (patch) | |
tree | db04a6d3555c7b506481a01b72e63a79b17077ae /src | |
parent | 7c9bc9ac36d3aa54f552f3402d8b6d990f4d707a (diff) |
Clang 2.8 also has cpuid.h
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/cpuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index c34a99942..30f441bd0 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -26,7 +26,7 @@ #include <ia32intrin.h> #define CALL_CPUID(type, out) do { __cpuid(out, type); } while(0); -#elif BOTAN_GCC_VERSION >= 430 +#elif (BOTAN_GCC_VERSION >= 430) || defined(BOTAN_BUILD_COMPILER_IS_CLANG) // Only available starting in GCC 4.3 #include <cpuid.h> |