summaryrefslogtreecommitdiff
path: root/Lib/python/std_string.i
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2004-03-30 08:04:48 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2004-03-30 08:04:48 +0000
commit42b8dcaae1ce945840735ad83a4a19e6df75b341 (patch)
tree7ed0ee7188595a691ff2b09fda1de5be32f104fd /Lib/python/std_string.i
parent55533e4dfdd737965417fe76f3a84098ba7bc852 (diff)
downloadswig-42b8dcaae1ce945840735ad83a4a19e6df75b341.tar.gz
fix for old STL std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python/std_string.i')
-rw-r--r--Lib/python/std_string.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/python/std_string.i b/Lib/python/std_string.i
index d8431d912..ba9ce8d79 100644
--- a/Lib/python/std_string.i
+++ b/Lib/python/std_string.i
@@ -27,7 +27,7 @@ namespace std {
template <class _CharT>
class basic_string
{
-#ifdef SWIG_STD_STRING_MODERN
+#ifndef SWIG_STD_STRING_MODERN
%ignore push_back;
%ignore clear;
%ignore compare;