changeset 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 47f4fbee32c5
children 4eea6a747c27
files mercurial/bdiff.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff.c	Mon Feb 20 11:09:25 2006 -0800
+++ b/mercurial/bdiff.c	Mon Feb 20 15:58:04 2006 -0600
@@ -17,6 +17,10 @@
 #define inline
 #endif
 
+#ifdef __SUNPRO_C
+# define inline
+#endif 
+
 #ifdef _WIN32
 #ifdef _MSC_VER
 #define inline __inline