summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-11-09 13:26:46 +0200
committermonty@hundin.mysql.fi <>2002-11-09 13:26:46 +0200
commitb0fae584b98e4f498cd63d1002c816f8a4be5afb (patch)
treedc4bb2a2343e6494e99b3429fc1247fa2dd18281 /include/my_global.h
parente08ed8a582992beb940bab54e4ffa1d7bbd8d75c (diff)
downloadmariadb-git-b0fae584b98e4f498cd63d1002c816f8a4be5afb.tar.gz
Portability fixes for HP compiler and HPUX11
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index f356cb1646b..749a326f86f 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -141,6 +141,10 @@ C_MODE_END
#undef HAVE_PREAD
#undef HAVE_PWRITE
#endif
+#if defined(HAVE_BROKEN_INLINE) && !defined(__cplusplus)
+#undef inline
+#define inline
+#endif
#ifdef UNDEF_HAVE_GETHOSTBYNAME_R /* For OSF4.x */
#undef HAVE_GETHOSTBYNAME_R