summaryrefslogtreecommitdiff
path: root/Lib/python/pymacros.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2004-10-06 16:51:22 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2004-10-06 16:51:22 +0000
commitd84772ce6fab64ae5cdef6a6a516fe213607b0f9 (patch)
tree32501e6d4b4b43ac915f2d18c0b267ae81840d4c /Lib/python/pymacros.swg
parente0d84d4be9c23a501300bb0b08ee85b187e8f734 (diff)
downloadswig-d84772ce6fab64ae5cdef6a6a516fe213607b0f9.tar.gz
fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python/pymacros.swg')
-rw-r--r--Lib/python/pymacros.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/python/pymacros.swg b/Lib/python/pymacros.swg
index 82ff39961..e4b38765c 100644
--- a/Lib/python/pymacros.swg
+++ b/Lib/python/pymacros.swg
@@ -36,7 +36,7 @@
/* include C++ or C value */
%define SWIG_cplusplus(cppval, cval)
-#if __cplusplus
+#ifdef __cplusplus
cppval
#else
cval