summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-06-06 14:43:21 +0400
committerunknown <konstantin@mysql.com>2005-06-06 14:43:21 +0400
commit29f18223aaec312d214658ffc59694a0ab6be6d7 (patch)
tree1fdd3515dc54f1481f41d4efd026f83063b432f3 /extra
parent40beffdb1ef170e6234aea916b1e6ca33dd422d1 (diff)
downloadmariadb-git-29f18223aaec312d214658ffc59694a0ab6be6d7.tar.gz
Futher yaSSL portability fixes: hp3750 (HP aCC + HPUX).
extra/yassl/taocrypt/src/misc.cpp: Futher yaSSL portability fixes: hp3750 (HP aCC + HPUX): we can remove these 2 ifdefed statements, as new handlers are not used anymore (yaSSL new doesn't throw exceptions and does not calls/resets new handlers as prescribed in the standard), but let's leave it to Todd, now just #ifdef the problematic code.
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/taocrypt/src/misc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/yassl/taocrypt/src/misc.cpp b/extra/yassl/taocrypt/src/misc.cpp
index 1780b3050e9..8ff5f47cfa4 100644
--- a/extra/yassl/taocrypt/src/misc.cpp
+++ b/extra/yassl/taocrypt/src/misc.cpp
@@ -149,7 +149,8 @@ unsigned long Crop(unsigned long value, unsigned int size)
}
-#if !(defined(_MSC_VER) && (_MSC_VER < 1300))
+#if !(defined(_MSC_VER) && (_MSC_VER < 1300)) && \
+ !(defined(__HP_aCC) && (__HP_aCC <= 35700))
using std::new_handler;
using std::set_new_handler;
#endif