bdiff: fix compile with GCC -ansi (issue1690)
authorMatt Mackall <mpm@selenic.com>
Sat, 20 Jun 2009 11:50:51 -0500
changeset 8858 16f6c13706df
parent 8857 5096a47d8aec
child 8859 580a79dde2a3
bdiff: fix compile with GCC -ansi (issue1690)
mercurial/bdiff.c
--- 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