summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/macros.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-18 12:48:38 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-18 12:48:38 +0100
commite8016805b87bead8eb3dff0d0559c5d9590b721b (patch)
tree2b56db6a3e0bcad1389f2ab8663a09d1dc2c0b94 /apt-pkg/contrib/macros.h
parent4cf64a718f5630f8fcee8989f5ab1b88bb1932a7 (diff)
Remove code tagged APT_PKG_590, add some missing includes
Remove all code scheduled to be removed after 5.90, and fix files to include files they previously got from hashes.h including more headers.
Diffstat (limited to 'apt-pkg/contrib/macros.h')
-rw-r--r--apt-pkg/contrib/macros.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/apt-pkg/contrib/macros.h b/apt-pkg/contrib/macros.h
index 689d86578..f37eb585b 100644
--- a/apt-pkg/contrib/macros.h
+++ b/apt-pkg/contrib/macros.h
@@ -121,13 +121,6 @@
#define APT_PKG_RELEASE 0
#define APT_PKG_ABI ((APT_PKG_MAJOR * 100) + APT_PKG_MINOR)
-
-#if APT_PKG_ABI > 590
-#define APT_PKG_590(msg) __attribute__((error(msg)))
-#else
-#define APT_PKG_590(msg)
-#endif
-
/* Should be a multiple of the common page size (4096) */
static constexpr unsigned long long APT_BUFFER_SIZE = 64 * 1024;