diff options
author | lloyd <[email protected]> | 2011-01-21 14:20:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-01-21 14:20:50 +0000 |
commit | e0a5e3f60bac9d5b20342a544334e484f2479377 (patch) | |
tree | b80c3903a4510f4596020fa6dc934c56ee551615 | |
parent | 599204c32af04c29168f8df7dda4fb09a8b6402a (diff) |
According to PR 137, cpuid.h doesn't exist with Clang on OS X or
FreeBSD. It is not being installed by Clang, so it appears on my
machine Clang is actually pulling the header in from GCC's private
include directory.
Closes PR 137
-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 30f441bd0..9ea9e82ad 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) || defined(BOTAN_BUILD_COMPILER_IS_CLANG) +#elif (BOTAN_GCC_VERSION >= 430) // Only available starting in GCC 4.3 #include <cpuid.h> |