diff options
author | weidai <weidai11@users.noreply.github.com> | 2005-09-05 21:43:43 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2005-09-05 21:43:43 +0000 |
commit | 09bb1aab6411aa9f373a037a46f8986d48b56075 (patch) | |
tree | 7c9380467a43a9fd9b4095024796ccabfdce1280 /integer.h | |
parent | 946eb7f0f4831bdb3e25eee84489f896a5d1a867 (diff) | |
download | cryptopp-git-09bb1aab6411aa9f373a037a46f8986d48b56075.tar.gz |
port to GCC 4
Diffstat (limited to 'integer.h')
-rw-r--r-- | integer.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -26,7 +26,7 @@ #endif // SSE2 intrinsics work in GCC 3.3 or later -#if defined(__SSE2__) && (__GNUC_MAJOR__ > 3 || __GNUC_MINOR__ > 2) +#if defined(__SSE2__) && (__GNUC__ > 3 || __GNUC_MINOR__ > 2) #define SSE2_INTRINSICS_AVAILABLE #endif @@ -56,7 +56,10 @@ NAMESPACE_BEGIN(CryptoPP) #endif }; - template class CRYPTOPP_DLL AlignedAllocator<word>; + #ifdef CRYPTOPP_IMPORTS + CRYPTOPP_DLL_TEMPLATE_CLASS AlignedAllocator<word>; + #endif + typedef SecBlock<word, AlignedAllocator<word> > SecAlignedWordBlock; #else typedef SecWordBlock SecAlignedWordBlock; |