From: Christian Brauner Date: Mon, 7 Dec 2020 10:25:58 +0000 (+0100) Subject: macro: move MAX_GRBUF_SIZE X-Git-Tag: lxc-5.0.0~334^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=052535c8657e2671ce5de5b4fae4c6f293a8d76c;p=mirror_lxc.git macro: move MAX_GRBUF_SIZE Signed-off-by: Christian Brauner --- diff --git a/src/lxc/macro.h b/src/lxc/macro.h index d6b9954e8..c8e810a3d 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -25,6 +25,10 @@ #define PATH_MAX 4096 #endif +#ifndef MAX_GRBUF_SIZE +#define MAX_GRBUF_SIZE 65536 +#endif + #define INT64_FMT "%" PRId64 /* Define __S_ISTYPE if missing from the C library. */ diff --git a/src/lxc/utils.h b/src/lxc/utils.h index ddd1cbe62..4825599c4 100644 --- a/src/lxc/utils.h +++ b/src/lxc/utils.h @@ -6,10 +6,6 @@ /* Properly support loop devices on 32bit systems. */ #define _FILE_OFFSET_BITS 64 -#ifndef MAX_GRBUF_SIZE -#define MAX_GRBUF_SIZE 65536 -#endif - #include #include #include