summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authortux <tux@linux-bjx7.site>2012-02-24 14:11:52 +0100
committertux <tux@linux-bjx7.site>2012-02-24 14:11:52 +0100
commitda18801cb9a37419fbb00e5bdd91a7881af402cf (patch)
treef6064aa3670b4dab8f827a53bfc0708a5d54667f /swig
parentdded159e52cf383a02d9c599247190ca5708f902 (diff)
downloadlibzypp-bindings-da18801cb9a37419fbb00e5bdd91a7881af402cf.tar.gz
libzypp-bindings-da18801cb9a37419fbb00e5bdd91a7881af402cf.tar.bz2
libzypp-bindings-da18801cb9a37419fbb00e5bdd91a7881af402cf.zip
we know that in SLE11 is fresh enough version of libzypp so remove unless check
Diffstat (limited to 'swig')
-rw-r--r--swig/Target.i4
1 files changed, 0 insertions, 4 deletions
diff --git a/swig/Target.i b/swig/Target.i
index 0c81a33..b8c2e3c 100644
--- a/swig/Target.i
+++ b/swig/Target.i
@@ -1,18 +1,15 @@
%ignore zypp::Target::reset;
-#if ZYPP_VERSION > 631
namespace zypp
{
// Redefine nested class in global scope for SWIG
struct DistributionLabel {};
}
-#endif
%include <zypp/Target.h>
namespace zypp
{
typedef intrusive_ptr<Target> Target_Ptr;
%template(Target_Ptr) intrusive_ptr<Target>;
}
-#if ZYPP_VERSION > 631
%{
namespace zypp
{
@@ -20,4 +17,3 @@ typedef intrusive_ptr<Target> Target_Ptr;
typedef Target::DistributionLabel DistributionLabel;
}
%}
-#endif \ No newline at end of file