diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:27:07 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:27:07 +0200 |
commit | 1bc6873583b01469f4981d738f4d0d4132ccfdbf (patch) | |
tree | 3f86236b08b84f5bdc3d6c9c00c91470933aeaf8 /apt-pkg/deb | |
parent | 472ff00ef2e48383805d281c6364ec27839e3f4d (diff) |
remove old APT_COMPATIBILITY ifdef's
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/debversion.cc | 1 | ||||
-rw-r--r-- | apt-pkg/deb/debversion.h | 28 |
2 files changed, 0 insertions, 29 deletions
diff --git a/apt-pkg/deb/debversion.cc b/apt-pkg/deb/debversion.cc index 859ff6b6d..bc9e13d92 100644 --- a/apt-pkg/deb/debversion.cc +++ b/apt-pkg/deb/debversion.cc @@ -10,7 +10,6 @@ ##################################################################### */ /*}}}*/ // Include Files /*{{{*/ -#define APT_COMPATIBILITY 986 #include <config.h> #include <apt-pkg/debversion.h> diff --git a/apt-pkg/deb/debversion.h b/apt-pkg/deb/debversion.h index 24ad73149..f1d6f3cc5 100644 --- a/apt-pkg/deb/debversion.h +++ b/apt-pkg/deb/debversion.h @@ -39,32 +39,4 @@ class debVersioningSystem : public pkgVersioningSystem extern debVersioningSystem debVS; -#ifdef APT_COMPATIBILITY -#if APT_COMPATIBILITY != 986 -#warning "Using APT_COMPATIBILITY" -#endif - -inline int pkgVersionCompare(const char *A, const char *B) -{ - return debVS.CmpVersion(A,B); -} -inline int pkgVersionCompare(const char *A, const char *AEnd, - const char *B, const char *BEnd) -{ - return debVS.DoCmpVersion(A,AEnd,B,BEnd); -} -inline int pkgVersionCompare(std::string A,std::string B) -{ - return debVS.CmpVersion(A,B); -} -inline bool pkgCheckDep(const char *DepVer,const char *PkgVer,int Op) -{ - return debVS.CheckDep(PkgVer,Op,DepVer); -} -inline std::string pkgBaseVersion(const char *Ver) -{ - return debVS.UpstreamVersion(Ver); -} -#endif - #endif |