largefiles.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2006 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: jim $       $Locker:  $             $State: Exp $
00014  *      $Revision: 1.3 $       $Date: 2012/01/28 22:05:55 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *   Platform dependent defines for enabling 64-bit file I/O on 32-bit machines
00019  *
00020  ***************************************************************************/
00021  
00022 #ifndef _LARGEFILES_H
00023 #define _LARGEFILES_H
00024 
00025 #ifdef _STDIO_H
00026 #error "largefiles.h must be included before system headers"
00027 #endif
00028 
00029 #if defined(_AIX)
00030 /* Define to enable large file extensions on AIX */
00031 #define _LARGE_FILE
00032 #define _LARGE_FILES
00033 #endif
00034 
00035 /* Defines which enable LFS I/O interfaces for large (>2GB) file support
00036  * on 32-bit machines.  These must be defined before inclusion of any
00037  * system headers.
00038  */
00039 #define _LARGEFILE_SOURCE
00040 #define _FILE_OFFSET_BITS 64
00041 
00042 #endif

Generated on Sat Nov 18 01:17:14 2017 for NAMD by  doxygen 1.4.7