comparison mercurial/bdiff.c @ 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 9c918287d10b
children 01215ad04283
comparison
equal deleted inserted replaced
866:6d6095823b82 867:0cd2ee61b10a
10 */ 10 */
11 11
12 #include <Python.h> 12 #include <Python.h>
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15
16 #ifdef __hpux
17 #define inline
18 #endif
19
15 #ifdef _WIN32 20 #ifdef _WIN32
16 #ifdef _MSC_VER 21 #ifdef _MSC_VER
17 #define inline __inline 22 #define inline __inline
18 typedef unsigned long uint32_t; 23 typedef unsigned long uint32_t;
19 #else 24 #else