# HG changeset patch # User Matt Mackall # Date 2009-06-20 16:50:51 # Node ID 16f6c13706df6068140411598f7072bf68eb81ec # Parent 5096a47d8aec0af0e0d49aaf655b4f3b4197ddc2 bdiff: fix compile with GCC -ansi (issue1690) diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c --- a/mercurial/bdiff.c +++ b/mercurial/bdiff.c @@ -18,6 +18,10 @@ # define inline #endif +#ifdef __linux +# define inline __inline +#endif + #ifdef _WIN32 #ifdef _MSC_VER #define inline __inline