]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- add workaround for swig undefing bool
authorMichael Schroeder <mls@suse.de>
Thu, 30 Aug 2012 09:52:30 +0000 (11:52 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 30 Aug 2012 09:55:02 +0000 (11:55 +0200)
bindings/solv.i

index 618401cb49f7c2c7065e5c74d006c7b0f985e4e0..c65c96af93833b68776c9af144b4e81e3d42a3e1 100644 (file)
@@ -337,6 +337,11 @@ typedef VALUE AppObjectPtr;
 #include <sys/types.h>
 #include <unistd.h>
 
+/* argh, swig undefs bool for perl */
+#ifndef bool
+typedef int bool;
+#endif
+
 #include "pool.h"
 #include "poolarch.h"
 #include "solver.h"