[zypp-commit] r9928 - /trunk/libzypp-bindings/swig/zypp.i
Author: mlandres Date: Thu May 1 01:58:56 2008 New Revision: 9928 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9928&view=rev Log: hack to compile ruby Modified: trunk/libzypp-bindings/swig/zypp.i Modified: trunk/libzypp-bindings/swig/zypp.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/zypp.i?rev=9928&r1=9927&r2=9928&view=diff ============================================================================== --- trunk/libzypp-bindings/swig/zypp.i (original) +++ trunk/libzypp-bindings/swig/zypp.i Thu May 1 01:58:56 2008 @@ -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" -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org