summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 22:13:21 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 22:13:21 +0000
commitcdd77a29664cd6606c1b05945a31726ecb7516cb (patch)
tree19e083afd4d093d6322687bc134b1b41ef673ec0 /integer.cpp
parent0e95a815a4bf8a4b1437e70fac09aa664cdbb55b (diff)
downloadcryptopp-cdd77a29664cd6606c1b05945a31726ecb7516cb.tar.gz
fix compile on OpenBSD 4.4
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@453 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.cpp b/integer.cpp
index 732e268..9adb745 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -525,7 +525,7 @@ extern "C" {
int Baseline_Add(size_t N, word *C, const word *A, const word *B);
int Baseline_Sub(size_t N, word *C, const word *A, const word *B);
}
-#elif defined(CRYPTOPP_X64_ASM_AVAILABLE) && defined(__GNUC__)
+#elif defined(CRYPTOPP_X64_ASM_AVAILABLE) && defined(__GNUC__) && defined(CRYPTOPP_WORD128_AVAILABLE)
int Baseline_Add(size_t N, word *C, const word *A, const word *B)
{
word result;