summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorMomtchil Momtchev <momtchil@momtchev.com>2023-04-14 10:14:13 +0200
committerMomtchil Momtchev <momtchil@momtchev.com>2023-04-14 10:14:13 +0200
commit0ef8b7bf6ea1eab199b8687057575ad1b2d1609e (patch)
treec384c77faccefb3fb7a6020bd2223f112a1e752b /Examples
parentace985ce44655785eb0b4ae94d5b3662b986fc2a (diff)
downloadswig-0ef8b7bf6ea1eab199b8687057575ad1b2d1609e.tar.gz
save missing files from previous commit
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/preproc_defined.i3
-rw-r--r--Examples/test-suite/preproc_predefined.i2
2 files changed, 3 insertions, 2 deletions
diff --git a/Examples/test-suite/preproc_defined.i b/Examples/test-suite/preproc_defined.i
index 5ebf0a099..13bbd6698 100644
--- a/Examples/test-suite/preproc_defined.i
+++ b/Examples/test-suite/preproc_defined.i
@@ -123,3 +123,6 @@ void another_macro_checking(void) {
#if 0
# wobble wobble
#endif
+
+#define __attribute__(x)
+
diff --git a/Examples/test-suite/preproc_predefined.i b/Examples/test-suite/preproc_predefined.i
index 4dc2e6eb8..252ef9a1a 100644
--- a/Examples/test-suite/preproc_predefined.i
+++ b/Examples/test-suite/preproc_predefined.i
@@ -55,8 +55,6 @@
#endif
%}
-#define __attribute__(x)
-
/* Test that SWIGxxx is defined at SWIG-time and in the wrapper. */
%include "preproc_predefined.h"
%{