# HG changeset patch # User Matt Mackall # Date 1245516651 18000 # Node ID 16f6c13706df6068140411598f7072bf68eb81ec # Parent 5096a47d8aec0af0e0d49aaf655b4f3b4197ddc2 bdiff: fix compile with GCC -ansi (issue1690) diff -r 5096a47d8aec -r 16f6c13706df 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