changeset 867:0cd2ee61b10a

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.
author tksoh@users.sourceforge.net
date Sat, 13 Aug 2005 12:41:00 -0800
parents 6d6095823b82
children 01215ad04283
files mercurial/bdiff.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <Python.h>
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef __hpux
+#define inline
+#endif
+
 #ifdef _WIN32
 #ifdef _MSC_VER
 #define inline __inline