add AIX to the list of compilers that don't have inline keyword
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 27 Oct 2006 10:24:19 +0200
changeset 3547 8c617d48564a
parent 3546 6106236bc4eb
child 3548 88b4755fa48f
add AIX to the list of compilers that don't have inline keyword
mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -13,11 +13,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef __hpux
-#define inline
-#endif
-
-#ifdef __SUNPRO_C
+#if defined __hpux || defined __SUNPRO_C || defined _AIX
 # define inline
 #endif