summaryrefslogtreecommitdiff
path: root/apt-inst/dirstream.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-07-15 13:21:21 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-10 17:27:58 +0200
commit4dc77823d360158d6870a5710cc8c17064f1308f (patch)
treec26b1040c6b6cc059411372ef81b6b030e18013c /apt-inst/dirstream.h
parentb291aa59ee63983204d8aeb166c388b1f97edce7 (diff)
remove the compatibility markers for 4.13 abi
We aren't and we will not be really compatible again with the previous stable abi, so lets drop these markers (which never made it into a released version) for good as they have outlived their intend already. Git-Dch: Ignore
Diffstat (limited to 'apt-inst/dirstream.h')
-rw-r--r--apt-inst/dirstream.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/apt-inst/dirstream.h b/apt-inst/dirstream.h
index 53ac24ba5..dac965db7 100644
--- a/apt-inst/dirstream.h
+++ b/apt-inst/dirstream.h
@@ -38,15 +38,10 @@ class pkgDirStream
Directory, FIFO} Type;
char *Name;
char *LinkTarget;
-#if APT_PKG_ABI >= 413
- unsigned long long Size;
-#endif
unsigned long Mode;
unsigned long UID;
unsigned long GID;
-#if APT_PKG_ABI < 413
- unsigned long Size;
-#endif
+ unsigned long long Size;
unsigned long MTime;
unsigned long Major;
unsigned long Minor;
@@ -55,13 +50,8 @@ class pkgDirStream
virtual bool DoItem(Item &Itm,int &Fd);
virtual bool Fail(Item &Itm,int Fd);
virtual bool FinishedFile(Item &Itm,int Fd);
-#if APT_PKG_ABI >= 413
virtual bool Process(Item &/*Itm*/,const unsigned char * /*Data*/,
unsigned long long /*Size*/,unsigned long long /*Pos*/) {return true;};
-#else
- virtual bool Process(Item &/*Itm*/,const unsigned char * /*Data*/,
- unsigned long /*Size*/,unsigned long /*Pos*/) {return true;};
-#endif
virtual ~pkgDirStream() {};
};