# 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 -r 6d6095823b82 -r 0cd2ee61b10a mercurial/bdiff.c --- a/mercurial/bdiff.c Fri Aug 12 23:54:09 2005 -0800 +++ b/mercurial/bdiff.c Sat Aug 13 12:41:00 2005 -0800 @@ -12,6 +12,11 @@ #include #include #include + +#ifdef __hpux +#define inline +#endif + #ifdef _WIN32 #ifdef _MSC_VER #define inline __inline