summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-27 13:31:10 +0200
committermonty@hundin.mysql.fi <>2001-12-27 13:31:10 +0200
commitac8155cce1e015494773bf9e4da469233dddb7f2 (patch)
tree15d6d78833b455cbaaf22190cc8c7e0a2ca0b990 /include
parent14e07aabdaeb4251698e0b4ffa3fbb52b1fcdc31 (diff)
downloadmariadb-git-ac8155cce1e015494773bf9e4da469233dddb7f2.tar.gz
Portability fixes
Diffstat (limited to 'include')
-rw-r--r--include/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index c7d6952f1c6..857c66d3640 100644
--- a/include/global.h
+++ b/include/global.h
@@ -211,6 +211,11 @@
#ifdef DONT_USE_FINITE /* HPUX 11.x has is_finite() */
#undef HAVE_FINITE
#endif
+#if defined(HPUX) && defined(_LARGEFILE64_SOURCE) && defined(THREAD)
+/* Fix bug in setrlimit */
+#undef setrlimit
+#define setrlimit cma_setrlimit64
+#endif
/* We can not live without these */