fixes for Sun Studio 9, test it

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-02 08:26:54 +00:00
commit fcd93c0dc7
2 changed files with 43 additions and 2 deletions

View file

@ -33,6 +33,16 @@
# define SWIGINLINE
#endif
/*
needed at Swig_cfunction_call/Swig_cmethod_call (cwrap.c) when
using template calls
*/
#if defined(__SUNPRO_CC)
#define SWIG_TEMPLATE_DISAMBIGUATOR template
#else
#define SWIG_TEMPLATE_DISAMBIGUATOR
#endif
/* This should only be incremented when either the layout of swig_type_info changes,
or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "1"