From: Adam Dickmeiss Date: Fri, 6 Aug 2004 09:37:37 +0000 (+0000) Subject: Only use inline on GCC X-Git-Tag: snippet.version.1~443 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=5c42d0e2ea62bdf3a84977b094ae2fb96309b3c5 Only use inline on GCC --- diff --git a/index/kcompare.c b/index/kcompare.c index 9bce34b..bb4fd08 100644 --- a/index/kcompare.c +++ b/index/kcompare.c @@ -1,4 +1,4 @@ -/* $Id: kcompare.c,v 1.48 2004-08-04 09:00:00 adam Exp $ +/* $Id: kcompare.c,v 1.49 2004-08-06 09:37:37 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -33,7 +33,12 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define INT_CODEC_NEW 0 #endif +#ifdef __GNUC__ #define CODEC_INLINE inline +#else +#define CODEC_INLINE +#endif + void key_logdump_txt (int logmask, const void *p, const char *txt) { struct it_key key;