mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
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.
This commit is contained in:
parent
505146283c
commit
57e34bb4fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user