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 3561 8c617d48564a
parent 3560 6106236bc4eb
child 3562 88b4755fa48f
add AIX to the list of compilers that don't have inline keyword
mercurial/bdiff.c
--- a/mercurial/bdiff.c	Thu Oct 26 22:28:33 2006 -0700
+++ b/mercurial/bdiff.c	Fri Oct 27 10:24:19 2006 +0200
@@ -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