mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/utils/lib/CryptoPP.h


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/utils/lib/CryptoPP.h
Date: Sat, 03 Dec 2005 11:19:55 -0500

Index: mldonkey/src/utils/lib/CryptoPP.h
diff -u mldonkey/src/utils/lib/CryptoPP.h:1.4 
mldonkey/src/utils/lib/CryptoPP.h:1.5
--- mldonkey/src/utils/lib/CryptoPP.h:1.4       Fri Dec  2 12:01:44 2005
+++ mldonkey/src/utils/lib/CryptoPP.h   Sat Dec  3 16:19:55 2005
@@ -1923,10 +1923,10 @@
 template <class T>
 inline unsigned int GetAlignment(T* /* dummy */ = NULL)        // VC60 
workaround
 {
-#if defined(_MSC_VER) and (_MSC_VER >= 1300)
-       return __alignof(T);
-#elif defined(__GNUC__)
+#if defined(__GNUC__)
        return __alignof__(T);
+#elif defined(_MSC_VER) and (_MSC_VER >= 1300)
+       return __alignof(T);
 #else
        return sizeof(T);
 #endif




reply via email to

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