From: Christian Brauner Date: Tue, 2 Nov 2021 09:57:24 +0000 (+0100) Subject: build: move _FILE_OFFSET_BITS to common option X-Git-Tag: lxc-4.0.12~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3637943195146cab00b4e6b74e5978a089cd4a4;p=thirdparty%2Flxc.git build: move _FILE_OFFSET_BITS to common option Signed-off-by: Christian Brauner --- diff --git a/meson.build b/meson.build index 19b3abbc1..f038fe4c5 100644 --- a/meson.build +++ b/meson.build @@ -24,6 +24,7 @@ conf.set('PROJECT_VERSION', meson.project_version(), description : 'Numerical project version (used where a simple number is expected)') conf.set('PACKAGE_VERSION', meson.project_version()) conf.set('_GNU_SOURCE', true) +conf.set('_FILE_OFFSET_BITS', 64) conf.set('__STDC_FORMAT_MACROS', true) version_data = configuration_data() diff --git a/src/lxc/utils.h b/src/lxc/utils.h index 161555e6f..7b1017265 100644 --- a/src/lxc/utils.h +++ b/src/lxc/utils.h @@ -3,9 +3,6 @@ #ifndef __LXC_UTILS_H #define __LXC_UTILS_H -/* Properly support loop devices on 32bit systems. */ -#define _FILE_OFFSET_BITS 64 - #include #include #include