Fix #1940536, overactive preprocessor which was expanding defined(...) outside of #if and #elif preprocessor directives.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-02-07 07:29:55 +00:00
commit 63af0a2d72
5 changed files with 54 additions and 4 deletions

View file

@ -0,0 +1,4 @@
import preproc_defined
if preproc_defined.call_checking() != 1:
raise RuntimeError