summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
Diffstat (limited to 'swig')
-rw-r--r--swig/zypp.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/swig/zypp.i b/swig/zypp.i
index b1f2329..9935197 100644
--- a/swig/zypp.i
+++ b/swig/zypp.i
@@ -153,6 +153,9 @@ typedef std::list<std::string> StringList;
%}
+/* swig does not understand the __attribute__ extension */
+#define __attribute__(x)
+
/* prevent swig from creating a type called 'Target_Type' */
#if defined(SWIGRUBY)
#define Target_Type VALUE