-
Notifications
You must be signed in to change notification settings - Fork 0
/
largefiles.h
36 lines (33 loc) · 1.21 KB
/
largefiles.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/***************************************************************************
*cr
*cr (C) Copyright 1995-2009 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
***************************************************************************/
/***************************************************************************
* RCS INFORMATION:
*
* $RCSfile: largefiles.h,v $
* $Author: johns $ $Locker: $ $State: Exp $
* $Revision: 1.3 $ $Date: 2009/04/29 15:45:31 $
*
***************************************************************************
* DESCRIPTION:
* Platform dependent defines for enabling 64-bit file I/O on 32-bit machines
*
***************************************************************************/
#if defined(_AIX)
/* Define to enable large file extensions on AIX */
#define _LARGE_FILE
#define _LARGE_FILES
#else
/* Defines which enable LFS I/O interfaces for large (>2GB) file support
* on 32-bit machines. These must be defined before inclusion of any
* system headers.
*/
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
#define _FILE_OFFSET_BITS 64
#endif