When compiling with gcc -ansi, inline was improperly getting set.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
41a558998d
commit
6a0fbb5a2c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
#define SWIGRUNTIME(x) static x
|
#define SWIGRUNTIME(x) static x
|
||||||
|
|
||||||
#ifndef SWIGINLINE
|
#ifndef SWIGINLINE
|
||||||
#if defined(__cplusplus) || defined(__GNUC__)
|
#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||||
# define SWIGINLINE inline
|
# define SWIGINLINE inline
|
||||||
#else
|
#else
|
||||||
# define SWIGINLINE
|
# define SWIGINLINE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue