diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-12-22 06:55:08 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-12-22 06:55:08 +0000 |
commit | 83c4add7725ca2489ee5f10aee215e804368838b (patch) | |
tree | fb71bcd9079c3d52aa10d6a7c41a2f97412c6033 /integer.cpp | |
parent | fca600f5f0c5759de6fe2f671aae8b183706c4b0 (diff) | |
download | cryptopp-83c4add7725ca2489ee5f10aee215e804368838b.tar.gz |
fix compile with GCC 4.0.1 on MacOS X 64-bit
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@430 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.cpp b/integer.cpp index e5aa95e..0926a0b 100644 --- a/integer.cpp +++ b/integer.cpp @@ -101,7 +101,7 @@ static word AtomicInverseModPower2(word A) // ******************************************************** -#if !defined(CRYPTOPP_NATIVE_DWORD_AVAILABLE) || defined(__x86_64__) +#if !defined(CRYPTOPP_NATIVE_DWORD_AVAILABLE) || (defined(__x86_64__) && defined(CRYPTOPP_WORD128_AVAILABLE)) #define Declare2Words(x) word x##0, x##1; #define AssignWord(a, b) a##0 = b; a##1 = 0; #define Add2WordsBy1(a, b, c) a##0 = b##0 + c; a##1 = b##1 + (a##0 < c); |