changeset 3561:8c617d48564a

add AIX to the list of compilers that don't have inline keyword
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 27 Oct 2006 10:24:19 +0200
parents 6106236bc4eb
children 88b4755fa48f
files mercurial/bdiff.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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