00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2016 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * RCS INFORMATION: 00011 * 00012 * $RCSfile: largefiles.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.4 $ $Date: 2016/11/28 05:01:54 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * Platform dependent defines for enabling 64-bit file I/O on 32-bit machines 00019 * 00020 ***************************************************************************/ 00021 00022 #if defined(_AIX) 00023 /* Define to enable large file extensions on AIX */ 00024 #define _LARGE_FILE 00025 #define _LARGE_FILES 00026 #else 00027 /* Defines which enable LFS I/O interfaces for large (>2GB) file support 00028 * on 32-bit machines. These must be defined before inclusion of any 00029 * system headers. 00030 */ 00031 #ifndef _LARGEFILE_SOURCE 00032 #define _LARGEFILE_SOURCE 00033 #endif 00034 #define _FILE_OFFSET_BITS 64 00035 #endif 00036