From 83c4add7725ca2489ee5f10aee215e804368838b Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 22 Dec 2008 06:55:08 +0000 Subject: 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 --- integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integer.cpp') 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); -- cgit v1.2.1