summaryrefslogtreecommitdiff
path: root/Lib/std_except.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-08 20:07:51 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-08 20:07:51 +0000
commitf2eeedf1c012f4c03e5630f5387bb45c6c426023 (patch)
treec306e3d8057ec4c16eb37ec0f6a1f72f8954e733 /Lib/std_except.i
parentdae3d70612935f5778440357bd94b55ba6cf1bc6 (diff)
downloadswig-f2eeedf1c012f4c03e5630f5387bb45c6c426023.tar.gz
Make sure this file is not included by Java or C# (std_deque.i) was using it after recent commits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/std_except.i')
-rw-r--r--Lib/std_except.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/std_except.i b/Lib/std_except.i
index 1720f0633..d9adf3ec0 100644
--- a/Lib/std_except.i
+++ b/Lib/std_except.i
@@ -17,6 +17,10 @@
// a new std_except.i file in the target library directory.
//
+#if defined(SWIGJAVA) || defined(SWIGCSHARP)
+#error "This version of std_except.i should not be used"
+#endif
+
%{
#include <stdexcept>
%}