diff options
author | lloyd <[email protected]> | 2010-06-11 12:32:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-11 12:32:42 +0000 |
commit | 19278e2242fc5f9b32b294d27b1c20d69b1f7bbc (patch) | |
tree | 99cf980187e2c398b27771d3133a7cdeff06c0ed /src/math | |
parent | eb7b919a345baccf68ab4f58257a5ff2da3b1496 (diff) |
Include generic mp_asmi.h for MSVC
Don't use /EHc; it says "C" functions are nothrow, which is not true
for bigint_sub2_rev.
Include needed <intrin.h> for mp_asm.h
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/bigint/mp_amd64_msvc/info.txt | 1 | ||||
-rw-r--r-- | src/math/bigint/mp_amd64_msvc/mp_asm.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/math/bigint/mp_amd64_msvc/info.txt b/src/math/bigint/mp_amd64_msvc/info.txt index b6f322b83..56ae05927 100644 --- a/src/math/bigint/mp_amd64_msvc/info.txt +++ b/src/math/bigint/mp_amd64_msvc/info.txt @@ -4,6 +4,7 @@ mp_bits 64 <header:internal> mp_asm.h +mp_generic:mp_asmi.h </header:internal> <arch> diff --git a/src/math/bigint/mp_amd64_msvc/mp_asm.h b/src/math/bigint/mp_amd64_msvc/mp_asm.h index 09ca303df..3acbe11bb 100644 --- a/src/math/bigint/mp_amd64_msvc/mp_asm.h +++ b/src/math/bigint/mp_amd64_msvc/mp_asm.h @@ -9,6 +9,7 @@ #define BOTAN_MP_ASM_H__ #include <botan/mp_types.h> +#include <intrin.h> #if (BOTAN_MP_WORD_BITS != 64) #error The mp_amd64_msvc module requires that BOTAN_MP_WORD_BITS == 64 |