From: Michael Andres Date: Wed, 30 Apr 2008 23:58:56 +0000 (+0000) Subject: hack to compile ruby X-Git-Tag: BASE-SuSE-Code-12_2-Branch~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44a7fcdafa763668bc32fbd7bc6800008a55f0bb;p=platform%2Fupstream%2Flibzypp-bindings.git hack to compile ruby --- diff --git a/swig/zypp.i b/swig/zypp.i index e3cf4ea..99f26ab 100644 --- 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 #include "zypp/base/PtrTypes.h" #include "zypp/Edition.h"