monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] [PATCH] Tiny fix to in-tree CryptoPP


From: Matthew Gregan
Subject: [Monotone-devel] [PATCH] Tiny fix to in-tree CryptoPP
Date: Mon, 11 Apr 2005 11:46:58 +1200
User-agent: Mutt/1.5.6+20040907i

Hello,

Here's a tiny patch to the in-tree CryptoPP to fix up the GCC version
check (it was failing before--__GNUC_MAJOR__ is not defined in any of
the GCC versions I have installed).

# 
# patch "cryptopp/integer.h"
#  from [da4168766f5c0993193077167ca846b7b9903ea6]
#    to [7b3d2d096b1f27f544339434b308fa2a756bb1e8]
# 
--- cryptopp/integer.h
+++ cryptopp/integer.h
@@ -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_PREREQ (3,3)
        #define SSE2_INTRINSICS_AVAILABLE
 #endif

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]