projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9cb00c
)
- add workaround for swig undefing bool
author
Michael Schroeder
<mls@suse.de>
Thu, 30 Aug 2012 09:52:30 +0000
(11:52 +0200)
committer
Michael Schroeder
<mls@suse.de>
Thu, 30 Aug 2012 09:55:02 +0000
(11:55 +0200)
bindings/solv.i
patch
|
blob
|
history
diff --git
a/bindings/solv.i
b/bindings/solv.i
index
618401c
..
c65c96a
100644
(file)
--- a/
bindings/solv.i
+++ b/
bindings/solv.i
@@
-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"