Back to index

nbd  3.2
lfs.h
Go to the documentation of this file.
00001 #ifndef LFS_H
00002 #define LFS_H
00003 
00004 #include "config.h"
00005 #if NBD_LFS
00006 # define _FILE_OFFSET_BITS 64
00007 # ifndef _LARGEFILE_SOURCE
00008 #  define _LARGEFILE_SOURCE
00009 # endif
00010 # define PARAM_OFFT PARAM_INT64
00011 #else
00012 # define PARAM_OFFT PARAM_INT
00013 #endif /* NBD_LFS */
00014 #ifdef HAVE_SYNC_FILE_RANGE
00015 # define USE_SYNC_FILE_RANGE
00016 # define _GNU_SOURCE
00017 #endif /* HAVE_SYNC_FILE_RANGE */
00018 
00019 #endif /* LFS_H */