projects
/
nbd.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not use sync_file_range
[nbd.git]
/
lfs.h
1
#ifndef LFS_H
2
#define LFS_H
3
4
#include "config.h"
5
#if NBD_LFS
6
#define _FILE_OFFSET_BITS 64
7
#ifndef _LARGEFILE_SOURCE
8
#define _LARGEFILE_SOURCE
9
#endif
10
#ifdef HAVE_SYNC_FILE_RANGE
11
#define USE_SYNC_FILE_RANGE
12
#define _GNU_SOURCE
13
#endif /* HAVE_SYNC_FILE_RANGE */
14
#endif /* NBD_LFS */
15
16
#endif /* LFS_H */