Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/bdiff.c @ 1759:5afd459db177
Sunpro compiler patch
The compiling runs through without warning, but runnig the newly builded
hg emmits a message:
| ImportError: ld.so.1: python: fatal: relocation error:
| file /opt/local/lib/python2.3/site-packages/mercurial/bdiff.so:
| symbol cmp: referenced symbol not found
Removing the inline infront of cmp corrects this error message.
author | Fabian Otto <sigsegv@alchiba.ni.cs.tu-berlin.de> |
---|---|
date | Mon, 20 Feb 2006 15:58:04 -0600 |
parents | 8e80eefb3de6 |
children | 10606ee61107 |
comparison
equal
deleted
inserted
replaced
1758:47f4fbee32c5 | 1759:5afd459db177 |
---|---|
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #ifdef __hpux | 16 #ifdef __hpux |
17 #define inline | 17 #define inline |
18 #endif | 18 #endif |
19 | |
20 #ifdef __SUNPRO_C | |
21 # define inline | |
22 #endif | |
19 | 23 |
20 #ifdef _WIN32 | 24 #ifdef _WIN32 |
21 #ifdef _MSC_VER | 25 #ifdef _MSC_VER |
22 #define inline __inline | 26 #define inline __inline |
23 typedef unsigned long uint32_t; | 27 typedef unsigned long uint32_t; |