projects
/
platform
/
upstream
/
libzypp-bindings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab0d23d
)
hack to compile ruby
author
Michael Andres
<ma@suse.de>
Wed, 30 Apr 2008 23:58:56 +0000
(23:58 +0000)
committer
Michael Andres
<ma@suse.de>
Wed, 30 Apr 2008 23:58:56 +0000
(23:58 +0000)
swig/zypp.i
patch
|
blob
|
history
diff --git
a/swig/zypp.i
b/swig/zypp.i
index
e3cf4ea
..
99f26ab
100644
(file)
--- a/
swig/zypp.i
+++ b/
swig/zypp.i
@@
-12,6
+12,13
@@
%{
/* Includes the header in the wrapper code */
+#ifdef SWIGRUBY
+#define REG_EXTENDED 1
+#define REG_ICASE (REG_EXTENDED << 1)
+#define REG_NEWLINE (REG_ICASE << 1)
+#define REG_NOSUB (REG_NEWLINE << 1)
+#endif
+
#include <sstream>
#include "zypp/base/PtrTypes.h"
#include "zypp/Edition.h"