summaryrefslogtreecommitdiff
path: root/cryptlib.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-25 00:15:52 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-25 00:15:52 +0000
commit58d9f812c149943cc18bd5b926b22fcc7b9b8b27 (patch)
tree9227398b87250aa1eca81b0853a967fe9d003103 /cryptlib.cpp
parent60ae2279fbb3b8082a7963ce73dcd2b6b2d4a50e (diff)
downloadcryptopp-58d9f812c149943cc18bd5b926b22fcc7b9b8b27.tar.gz
fix bugs in 64-bit CPU support
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@112 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r--cryptlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptlib.cpp b/cryptlib.cpp
index cafaaa7..a4f972e 100644
--- a/cryptlib.cpp
+++ b/cryptlib.cpp
@@ -22,7 +22,9 @@ CRYPTOPP_COMPILE_ASSERT(sizeof(word32) == 4);
#ifdef WORD64_AVAILABLE
CRYPTOPP_COMPILE_ASSERT(sizeof(word64) == 8);
#endif
+#ifdef CRYPTOPP_NATIVE_DWORD_AVAILABLE
CRYPTOPP_COMPILE_ASSERT(sizeof(dword) == 2*sizeof(word));
+#endif
const std::string BufferedTransformation::NULL_CHANNEL;
const NullNameValuePairs g_nullNameValuePairs;