diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-11-07 14:20:36 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-11-08 14:26:00 +0100 |
commit | ccf6bdb3efc54165c76b42aae94c498a36acbe1b (patch) | |
tree | 9af1fdb0f6b30287ef79a54b2a38bca468bdfcc0 /apt-pkg/metaindex.h | |
parent | 586d8704716a10e0f8b9c400cab500f5353eebe6 (diff) |
use a abi version check similar to the gcc check
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r-- | apt-pkg/metaindex.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index 7c4d0c1aa..ae73c27dd 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -40,9 +40,11 @@ class metaIndex virtual const char* GetType() const {return Type;} // interface to to query it -#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13) +#if APT_PKG_ABI >= 413 // returns the path of the local file (or "" if its not available) virtual std::string LocalFileName() const {return "";}; +#else + std::string LocalFileName() const; #endif // Interface for acquire |