better using SWIGEXPORT for DllExport
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
063cd988c4
commit
cc30a3d0d7
1 changed files with 1 additions and 5 deletions
|
|
@ -89,9 +89,5 @@
|
|||
|
||||
/* Add DllExport for backward compatibility */
|
||||
#ifndef DllExport
|
||||
# if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
# define DllExport __declspec( dllexport )
|
||||
# else
|
||||
# define DllExport
|
||||
# endif
|
||||
# define DllExport SWIGEXPORT
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue