File: lfs.h

package info (click to toggle)
nbd 1:3.20-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,960 kB
  • sloc: ansic: 7,494; sh: 6,496; makefile: 147
file content (19 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LFS_H
#define LFS_H

#include "config.h"
#if NBD_LFS
# define _FILE_OFFSET_BITS 64
# ifndef _LARGEFILE_SOURCE
#  define _LARGEFILE_SOURCE
# endif
# define PARAM_OFFT PARAM_INT64
#else
# define PARAM_OFFT PARAM_INT
#endif /* NBD_LFS */
#ifdef HAVE_SYNC_FILE_RANGE
# define USE_SYNC_FILE_RANGE
# define _GNU_SOURCE
#endif /* HAVE_SYNC_FILE_RANGE */

#endif /* LFS_H */