From 0db5f142dd8deeb22ef047a08963d4e66c9f83fb Mon Sep 17 00:00:00 2001 From: "lenz@mysql.com" <> Date: Wed, 4 Dec 2002 19:16:45 +0100 Subject: [PATCH] - portability patch to work around bugs in the HP compiler's "inline" handling (backport from 4.0 tree) --- include/global.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/global.h b/include/global.h index 4ab7cbbeee6..988797b330c 100644 --- a/include/global.h +++ b/include/global.h @@ -122,6 +122,10 @@ double my_ulonglong2double(unsigned long long A); #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