diff mercurial/bdiff.c @ 8858:16f6c13706df

bdiff: fix compile with GCC -ansi (issue1690)
author Matt Mackall <mpm@selenic.com>
date Sat, 20 Jun 2009 11:50:51 -0500
parents 930a2be7e875
children 8e202431d620
line wrap: on
line diff
--- a/mercurial/bdiff.c	Sat Jun 20 10:53:47 2009 -0500
+++ b/mercurial/bdiff.c	Sat Jun 20 11:50:51 2009 -0500
@@ -18,6 +18,10 @@
 # define inline
 #endif
 
+#ifdef __linux
+# define inline __inline
+#endif
+
 #ifdef _WIN32
 #ifdef _MSC_VER
 #define inline __inline