From cc30a3d0d76a6ff7ee14094e29c8b817f353e861 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Mar 2006 06:14:23 +0000 Subject: [PATCH] better using SWIGEXPORT for DllExport git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/swiglabels.swg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SWIG/Lib/swiglabels.swg b/SWIG/Lib/swiglabels.swg index 02b0803ec..74b3b12d9 100644 --- a/SWIG/Lib/swiglabels.swg +++ b/SWIG/Lib/swiglabels.swg @@ -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