1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* Provide a more complete sys/types.h.
4 Copyright (C) 2011-2012 Free Software Foundation, Inc.
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)
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.
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/>. */
20 #pragma GCC system_header
24 #ifndef _GL_SYS_TYPES_H
26 /* The include_next requires a split double-inclusion guard. */
27 #include_next <sys/types.h>
29 #ifndef _GL_SYS_TYPES_H
30 #define _GL_SYS_TYPES_H
32 /* Override off_t if Large File Support is requested on native Windows. */
34 /* Same as int64_t in <stdint.h>. */
36 # define off_t __int64
38 # define off_t long long int
40 /* Indicator, for gnulib internal purposes. */
41 # define _GL_WINDOWS_64_BIT_OFF_T 1
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__
51 #endif /* _GL_SYS_TYPES_H */
52 #endif /* _GL_SYS_TYPES_H */