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:
parent
f46617dc03
commit
17b006087e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue