When compiling with gcc -ansi, inline was improperly getting set.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
John Lenz 2004-11-04 01:27:57 +00:00
commit 17b006087e

View file

@ -28,7 +28,7 @@
#define SWIGRUNTIME(x) static x
#ifndef SWIGINLINE
#if defined(__cplusplus) || defined(__GNUC__)
#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
#else
# define SWIGINLINE