Network Block Device  @PACKAGE_VERSION@
lfs.h
Go to the documentation of this file.
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 # define PARAM_OFFT PARAM_INT64
11 #else
12 # define PARAM_OFFT PARAM_INT
13 #endif /* NBD_LFS */
14 #ifdef HAVE_SYNC_FILE_RANGE
15 # define USE_SYNC_FILE_RANGE
16 # define _GNU_SOURCE
17 #endif /* HAVE_SYNC_FILE_RANGE */
18 
19 #endif /* LFS_H */