diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-08 11:36:12 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-08 11:36:12 +0200 |
commit | bcd319283cba0396bc948129fb10686f529e6b53 (patch) | |
tree | abfb8a0a21a52d1add8b2021ac06cdec1876dbf0 /extra | |
parent | 44b35dbb0e98f02286121b7b8738027d65256004 (diff) | |
download | mariadb-git-bcd319283cba0396bc948129fb10686f529e6b53.tar.gz |
yassl fix for ia64 + icc
extra/yassl/taocrypt/include/runtime.hpp:
Check for both __ICC and __INTEL_COMPILER
extra/yassl/taocrypt/include/types.hpp:
Check for both __ICC and __INTEL_COMPILER
Diffstat (limited to 'extra')
-rw-r--r-- | extra/yassl/taocrypt/include/runtime.hpp | 4 | ||||
-rw-r--r-- | extra/yassl/taocrypt/include/types.hpp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/extra/yassl/taocrypt/include/runtime.hpp b/extra/yassl/taocrypt/include/runtime.hpp index f506040f0d8..254e67a7f64 100644 --- a/extra/yassl/taocrypt/include/runtime.hpp +++ b/extra/yassl/taocrypt/include/runtime.hpp @@ -25,7 +25,8 @@ -#if !defined(yaSSL_NEW_HPP) && defined(__GNUC__) && !defined(__ICC) +#if !defined(yaSSL_NEW_HPP) && defined(__GNUC__) +#if !(defined(__ICC) || defined(__INTEL_COMPILER)) #define yaSSL_NEW_HPP @@ -46,5 +47,6 @@ static int __cxa_pure_virtual() } // extern "C" #endif // __GNUC__ > 2 +#endif // ! _ICC #endif // yaSSL_NEW_HPP && __GNUC__ diff --git a/extra/yassl/taocrypt/include/types.hpp b/extra/yassl/taocrypt/include/types.hpp index 92164eaaab4..db9c3792bbd 100644 --- a/extra/yassl/taocrypt/include/types.hpp +++ b/extra/yassl/taocrypt/include/types.hpp @@ -61,9 +61,10 @@ typedef unsigned int word32; // compilers we've found 64-bit multiply insructions for #if defined(__GNUC__) || defined(_MSC_VER) || defined(__DECCXX) +#if !(defined(__ICC) || defined(__INTEL_COMPILER)) #define HAVE_64_MULTIPLY #endif - +#endif #if defined(HAVE_64_MULTIPLY) && (defined(__alpha__) || defined(__ia64__) \ || defined(_ARCH_PPC64) || defined(__mips64) || defined(__x86_64__)) |