[airstrike] Windows problems

Ulf Ekström ulfek at ifm.liu.se
Fri Jun 4 09:34:38 EDT 2004

On Fri, Jun 04, 2004 at 02:29:21PM +0200, machiel at bsdfreaks.nl wrote:
> Some more info about this problem:
> http://www.codeguru.com/forum/showthread.php?threadid=293448
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/lnk2001.asp
> I have found a ugly solution for this problem,
> Just define an empty space for INLINE,
> #define INLINE

This turns off inlining, so it's ok even if it makes the program
slightly slower. In src/core/compat.h there are definitions of INLINE
for different compilers:

/* Define INLINE for different compilers. */
#ifndef INLINE
# ifdef __GNUC__
#  define INLINE inline
# else
#  ifdef _MSC_VER
#   define INLINE __inline
#  else
#   define INLINE
#  endif
# endif

You can add a suitable definition here if you like.  Maybe this header
is not included correctly in all files that need it, since you see the


More information about the airstrike mailing list