Home | History | Annotate | Download | only in sys
      1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
      2 /* Provide a more complete sys/types.h.
      3 
      4    Copyright (C) 2011-2012 Free Software Foundation, Inc.
      5 
      6    This program is free software; you can redistribute it and/or modify
      7    it under the terms of the GNU General Public License as published by
      8    the Free Software Foundation; either version 3, or (at your option)
      9    any later version.
     10 
     11    This program is distributed in the hope that it will be useful,
     12    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14    GNU General Public License for more details.
     15 
     16    You should have received a copy of the GNU General Public License
     17    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
     18 
     19 #if __GNUC__ >= 3
     20 #pragma GCC system_header
     21 #endif
     22 
     23 
     24 #ifndef _GL_SYS_TYPES_H
     25 
     26 /* The include_next requires a split double-inclusion guard.  */
     27 #include_next <sys/types.h>
     28 
     29 #ifndef _GL_SYS_TYPES_H
     30 #define _GL_SYS_TYPES_H
     31 
     32 /* Override off_t if Large File Support is requested on native Windows.  */
     33 #if 0
     34 /* Same as int64_t in <stdint.h>.  */
     35 # if defined _MSC_VER
     36 #  define off_t __int64
     37 # else
     38 #  define off_t long long int
     39 # endif
     40 /* Indicator, for gnulib internal purposes.  */
     41 # define _GL_WINDOWS_64_BIT_OFF_T 1
     42 #endif
     43 
     44 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
     45 /* But avoid namespace pollution on glibc systems.  */
     46 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
     47     && ! defined __GLIBC__
     48 # include <stddef.h>
     49 #endif
     50 
     51 #endif /* _GL_SYS_TYPES_H */
     52 #endif /* _GL_SYS_TYPES_H */
     53