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