~ubuntu-branches/ubuntu/precise/nbd/precise-security

« back to all changes in this revision

Viewing changes to lfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2011-06-21 19:17:59 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20110621191759-fcsuw8152l0yqf9r
Tags: upstream-2.9.22
Import upstream version 2.9.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "config.h"
5
5
#if NBD_LFS
6
6
#define _FILE_OFFSET_BITS 64
 
7
#ifndef _LARGEFILE_SOURCE
7
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 */
8
14
#endif /* NBD_LFS */
9
15
 
10
16
#endif /* LFS_H */