summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-01-23 16:42:03 +0200
committermonty@mysql.com/narttu.mysql.fi <>2007-01-23 16:42:03 +0200
commit120e3f5ee1a5f2d62f6a4ff10db0797c5ac42287 (patch)
tree0e45a04dc98f31226612beac168f784f63ca4c10 /extra
parent807526ff7982bc108ee1355022e285d39579910c (diff)
downloadmariadb-git-120e3f5ee1a5f2d62f6a4ff10db0797c5ac42287.tar.gz
Avoid compiler warnings on powermacg5
Fixed compilation error when trying to compile libmysqld on powermac
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/taocrypt/include/type_traits.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/yassl/taocrypt/include/type_traits.hpp b/extra/yassl/taocrypt/include/type_traits.hpp
index b985358e1c1..3a50f9ba8f3 100644
--- a/extra/yassl/taocrypt/include/type_traits.hpp
+++ b/extra/yassl/taocrypt/include/type_traits.hpp
@@ -69,7 +69,11 @@ MK_FUNDAMENTAL_TYPE(unsigned long)
MK_FUNDAMENTAL_TYPE(float)
MK_FUNDAMENTAL_TYPE( double)
-MK_FUNDAMENTAL_TYPE(long double)
+
+#ifdef LONG_DOUBLE_IS_DISTINCT_TYPE
+// Don't define by default as this gives warnings on power mac
+ MK_FUNDAMENTAL_TYPE(long double)
+#endif
#if defined(WORD64_AVAILABLE) && defined(WORD64_IS_DISTINCT_TYPE)
MK_FUNDAMENTAL_TYPE(word64)