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:
Marcelo Matus 2006-02-28 18:59:41 +00:00
commit 52cadebd40
2 changed files with 14 additions and 3 deletions

View file

@ -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