Complete upgrade of gnu grep 2.14 => 2.20
[dragonfly.git] / gnu / usr.bin / grep / libgreputils / sys / types.h
1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* Provide a more complete sys/types.h.
3
4    Copyright (C) 2011-2014 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 # define _GL_INCLUDING_SYS_TYPES_H
28 #include_next <sys/types.h>
29 # undef _GL_INCLUDING_SYS_TYPES_H
30
31 #ifndef _GL_SYS_TYPES_H
32 #define _GL_SYS_TYPES_H
33
34 /* Override off_t if Large File Support is requested on native Windows.  */
35 #if 0
36 /* Same as int64_t in <stdint.h>.  */
37 # if defined _MSC_VER
38 #  define off_t __int64
39 # else
40 #  define off_t long long int
41 # endif
42 /* Indicator, for gnulib internal purposes.  */
43 # define _GL_WINDOWS_64_BIT_OFF_T 1
44 #endif
45
46 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
47 /* But avoid namespace pollution on glibc systems.  */
48 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
49     && ! defined __GLIBC__
50 # include <stddef.h>
51 #endif
52
53 #endif /* _GL_SYS_TYPES_H */
54 #endif /* _GL_SYS_TYPES_H */