# HG changeset patch # User tksoh@users.sourceforge.net # Date 1123965660 28800 # Node ID 0cd2ee61b10a03992daabee417949866318c308b # Parent 6d6095823b82f32c7d20230c4b7fc18fe6343dae Allow Mercurial to build on HP-UX 11 Temporary fix to allow Mercurial to build on HP-UX 11, as the C compiler on HP-UX 11 doesn't support 'inline' qualifier. The '__inline' qualifier seemed to be supported, but not without first resolving other associated issues. diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c --- a/mercurial/bdiff.c +++ b/mercurial/bdiff.c @@ -12,6 +12,11 @@ #include #include #include + +#ifdef __hpux +#define inline +#endif + #ifdef _WIN32 #ifdef _MSC_VER #define inline __inline