summaryrefslogtreecommitdiff
path: root/Examples/test-suite/preproc_predefined.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/preproc_predefined.i')
-rw-r--r--Examples/test-suite/preproc_predefined.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/preproc_predefined.i b/Examples/test-suite/preproc_predefined.i
index 252ef9a1a..4dc2e6eb8 100644
--- a/Examples/test-suite/preproc_predefined.i
+++ b/Examples/test-suite/preproc_predefined.i
@@ -55,6 +55,8 @@
#endif
%}
+#define __attribute__(x)
+
/* Test that SWIGxxx is defined at SWIG-time and in the wrapper. */
%include "preproc_predefined.h"
%{