fix for undefined reference on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39b2764e6d
commit
2a8a9fc72e
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ struct StructWithEnums {
|
|||
};
|
||||
|
||||
extern "C"
|
||||
{
|
||||
enum {Hi, Hello } hi;
|
||||
}
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue