diff options
author | Jack Lloyd <[email protected]> | 2017-03-19 15:01:58 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-03-19 15:01:58 -0400 |
commit | 1d9587c4601136d824c7d68940b74bd8da0a3688 (patch) | |
tree | dd5de6dbad3bd4afa0a12dbe557a724579d201fa /src/lib | |
parent | 6bfc86924d6d20f8cdeb832f40be224a03d00858 (diff) | |
parent | e0088980e29333e48771d5d4cd1df75c54b7d7ce (diff) |
Merge GH #921 Fix compiler macro mixup
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/math/mp/mp_madd.h | 2 | ||||
-rw-r--r-- | src/lib/utils/compiler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/mp/mp_madd.h b/src/lib/math/mp/mp_madd.h index 2fa1d88ce..e72c16ecb 100644 --- a/src/lib/math/mp/mp_madd.h +++ b/src/lib/math/mp/mp_madd.h @@ -40,7 +40,7 @@ namespace Botan { #if defined(BOTAN_USE_GCC_INLINE_ASM) #define BOTAN_MP_USE_X86_32_ASM #define ASM(x) x "\n\t" - #elif defined(BOTAN_TARGET_COMPILER_IS_MSVC) + #elif defined(BOTAN_BUILD_COMPILER_IS_MSVC) #define BOTAN_MP_USE_X86_32_MSVC_ASM #endif diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h index ed8fad9de..7b3dbe6bc 100644 --- a/src/lib/utils/compiler.h +++ b/src/lib/utils/compiler.h @@ -140,7 +140,7 @@ #define BOTAN_PARALLEL_SIMD_FOR _Pragma("simd") for #elif defined(BOTAN_TARGET_HAS_OPENMP) #define BOTAN_PARALLEL_SIMD_FOR _Pragma("omp simd") for -#elif defined(BOTAN_TARGET_COMPILER_IS_GCC) +#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) #define BOTAN_PARALLEL_FOR _Pragma("GCC ivdep") for #else #define BOTAN_PARALLEL_SIMD_FOR for |