summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/macros.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-01-14 12:57:54 +0000
committerJulian Andres Klode <jak@debian.org>2020-01-14 12:57:54 +0000
commit5db3a38926aa820546c411dd9f49f57eea24cd9e (patch)
treeb794739c375d7c984c4190be44b9ed678e9bf0da /apt-pkg/contrib/macros.h
parentcfeae24843e8357c7e8d2ff3b23ee81cac330017 (diff)
parent8c1a37e12790a23f3b132899485e011f9134b483 (diff)
Merge branch 'pu/gcrypt2' into 'master'
Use Libgcrypt for hashing purposes See merge request apt-team/apt!89
Diffstat (limited to 'apt-pkg/contrib/macros.h')
-rw-r--r--apt-pkg/contrib/macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/contrib/macros.h b/apt-pkg/contrib/macros.h
index 340549fbd..7e42092f6 100644
--- a/apt-pkg/contrib/macros.h
+++ b/apt-pkg/contrib/macros.h
@@ -128,4 +128,7 @@
#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;
+
#endif