summaryrefslogtreecommitdiff
path: root/src/cvc4.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/cvc4.i')
-rw-r--r--src/cvc4.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cvc4.i b/src/cvc4.i
index e1138649c..58dceb6b1 100644
--- a/src/cvc4.i
+++ b/src/cvc4.i
@@ -1,3 +1,10 @@
+// We safely ignore some C++11 keywords that older versions of SWIG cannot
+// handle.
+#if SWIG_VERSION < 0x030000
+%define final %enddef
+%define override %enddef
+#endif
+
%import "bindings/swig.h"
%include "stdint.i"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback