Branch: Tag:

2004-09-26

2004-09-26 15:10:17 by Marcus Comstedt <marcus@mc.pp.se>

Don't define INLINE if it's already defined.

Rev: src/global.h:1.102

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: global.h,v 1.101 2004/09/18 20:17:36 per Exp $ + || $Id: global.h,v 1.102 2004/09/26 15:10:17 marcus Exp $   */      #ifndef GLOBAL_H
388:   #define DO_IF_INTERNAL_PROFILING(X)   #endif    + #ifndef INLINE   #if defined(__GNUC__) && !defined(PIKE_DEBUG) && !defined(lint)   #define INLINE inline   #else   #define INLINE   #endif -  + #endif      /* PMOD_EXPORT exports a function / variable / whatever.    * Putting PMOD_PROTO in front of a prototype does nothing.