dhcpd-pools  3.0
ISC dhcpd lease usage analyser
types.h
Go to the documentation of this file.
1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* Provide a more complete sys/types.h.
3 
4  Copyright (C) 2011-2017 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 <https://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 /* Override dev_t and ino_t if distinguishable inodes support is requested
47  on native Windows. */
48 #if 0
49 
50 # if 0 == 2
51 /* Experimental, not useful in Windows 10. */
52 
53 /* Define dev_t to a 64-bit type. */
54 # if !defined GNULIB_defined_dev_t
55 typedef unsigned long long int rpl_dev_t;
56 # undef dev_t
57 # define dev_t rpl_dev_t
58 # define GNULIB_defined_dev_t 1
59 # endif
60 
61 /* Define ino_t to a 128-bit type. */
62 # if !defined GNULIB_defined_ino_t
63 /* MSVC does not have a 128-bit integer type.
64  GCC has a 128-bit integer type __int128, but only on 64-bit targets. */
65 typedef struct { unsigned long long int _gl_ino[2]; } rpl_ino_t;
66 # undef ino_t
67 # define ino_t rpl_ino_t
68 # define GNULIB_defined_ino_t 1
69 # endif
70 
71 # else /* 0 == 1 */
72 
73 /* Define ino_t to a 64-bit type. */
74 # if !defined GNULIB_defined_ino_t
75 typedef unsigned long long int rpl_ino_t;
76 # undef ino_t
77 # define ino_t rpl_ino_t
78 # define GNULIB_defined_ino_t 1
79 # endif
80 
81 # endif
82 
83 /* Indicator, for gnulib internal purposes. */
84 # define _GL_WINDOWS_STAT_INODES 0
85 
86 #endif
87 
88 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>. */
89 /* But avoid namespace pollution on glibc systems. */
90 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
91  && ! defined __GLIBC__
92 # include <stddef.h>
93 #endif
94 
95 #endif /* _GL_SYS_TYPES_H */
96 #endif /* _GL_SYS_TYPES_H */