diff options
author | Julian Andres Klode <jak@debian.org> | 2020-01-14 12:57:54 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2020-01-14 12:57:54 +0000 |
commit | 5db3a38926aa820546c411dd9f49f57eea24cd9e (patch) | |
tree | b794739c375d7c984c4190be44b9ed678e9bf0da /apt-pkg/contrib/macros.h | |
parent | cfeae24843e8357c7e8d2ff3b23ee81cac330017 (diff) | |
parent | 8c1a37e12790a23f3b132899485e011f9134b483 (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.h | 3 |
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 |