mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-17 20:17:31 +00:00
build: move _FILE_OFFSET_BITS to common option
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
b0dec2ced0
commit
5bd35027d3
@ -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()
|
||||
|
@ -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 <errno.h>
|
||||
#include <linux/loop.h>
|
||||
#include <linux/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user