add the DllExport label for backward compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d40ff25e3f
commit
52cadebd40
2 changed files with 14 additions and 3 deletions
|
|
@ -9,11 +9,13 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#ifdef WIN32
|
||||
#ifndef DllExport
|
||||
# ifdef WIN32
|
||||
# define DllExport __declspec( dllexport )
|
||||
#else
|
||||
# else
|
||||
# define DllExport
|
||||
#endif
|
||||
# endif
|
||||
#endif
|
||||
%}
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue