changeset 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 5096a47d8aec
children 580a79dde2a3
files mercurial/bdiff.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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