Fixed compile problem on windows. The code defines a template called max - however, Windows already defines a macro called max. The fix is to undefine the macro.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Charlie Savage 2005-09-22 03:22:05 +00:00
commit 2caa0e1dd3

View file

@ -2,6 +2,10 @@
%module example
%{
#ifdef max
#undef max
#endif
#include "example.h"
%}