summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 08:28:09 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 08:28:09 +0000
commit5283f5059b14d63ed0ed54c8384890320fbb9ec6 (patch)
tree187e9abc73ba1918391e24a30eb0b9638f12941e /integer.cpp
parentaccbb9d893ba34323919f5e17db17e6833d96f50 (diff)
downloadcryptopp-5283f5059b14d63ed0ed54c8384890320fbb9ec6.tar.gz
port to GCC 3.4
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/integer.cpp b/integer.cpp
index 575b431..ecab41c 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -1560,10 +1560,12 @@ typedef Portable LowLevel;
#ifdef SSE2_INTRINSICS_AVAILABLE
#ifdef __GNUC__
-#define __fastcall
+#define CRYPTOPP_FASTCALL
+#else
+#define CRYPTOPP_FASTCALL __fastcall
#endif
-static void __fastcall P4_Mul(__m128i *C, const __m128i *A, const __m128i *B)
+static void CRYPTOPP_FASTCALL P4_Mul(__m128i *C, const __m128i *A, const __m128i *B)
{
__m128i a3210 = _mm_load_si128(A);
__m128i b3210 = _mm_load_si128(B);