diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-09-16 00:35:38 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-09-16 00:35:38 +0000 |
commit | eef3f9169df8a33ee2dc8ad93f8f8a4d0e602dfc (patch) | |
tree | f95d6b017e045b8d87c948456fee2a5be7a56306 /Examples/test-suite/wrapmacro.i | |
parent | 285ecebd14e380aea17bb1429c249a79a44bba6b (diff) | |
download | swig-eef3f9169df8a33ee2dc8ad93f8f8a4d0e602dfc.tar.gz |
fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/wrapmacro.i')
-rw-r--r-- | Examples/test-suite/wrapmacro.i | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/wrapmacro.i b/Examples/test-suite/wrapmacro.i index c9406f9c3..f714fa527 100644 --- a/Examples/test-suite/wrapmacro.i +++ b/Examples/test-suite/wrapmacro.i @@ -2,6 +2,11 @@ /* Testing technique for wrapping macros */ +%{ +#ifdef max +#undef max +#endif +%} /* Here, some macros to wrap */ %inline %{ |