Changes for perl-bindings
authorStefan Haas <shaas@suse.de>
Fri, 7 Sep 2007 12:01:15 +0000 (12:01 +0000)
committerStefan Haas <shaas@suse.de>
Fri, 7 Sep 2007 12:01:15 +0000 (12:01 +0000)
swig/zypp.i

index 121d9a6..026c9aa 100644 (file)
@@ -2,8 +2,10 @@
 
 #ifdef SWIGPERL5
 %{
-   #define SWIGPERLHACK
    #undef NORMAL
+   #undef readdir 
+   #undef Fflush 
+   #undef Mkdir 
 %}   
 #endif
 
 #include "zypp/ResObject.h"
 #include "zypp/ResPoolManager.h"
 #include "zypp/Target.h"
-#ifndef SWIGPERLHACK
-   #include "zypp/target/TargetImpl.h"
-   #include "zypp/MediaSetAccess.h"
-#endif
+#include "zypp/target/TargetImpl.h"
+#include "zypp/MediaSetAccess.h"
 #include "zypp/TranslatedText.h"
 #include "zypp/CapFactory.h"
 #include "zypp/Package.h"