maint: enable sc_trailing_blank
[gnulib.git] / lib / sys_types.in.h
1 /* Provide a more complete sys/types.h.
2
3    Copyright (C) 2011-2012 Free Software Foundation, Inc.
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2, or (at your option)
8    any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software Foundation,
17    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
18
19 #if __GNUC__ >= 3
20 @PRAGMA_SYSTEM_HEADER@
21 #endif
22 @PRAGMA_COLUMNS@
23
24 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
25
26 /* The include_next requires a split double-inclusion guard.  */
27 #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@
28
29 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
30 #define _@GUARD_PREFIX@_SYS_TYPES_H
31
32 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
33 /* But avoid namespace pollution on glibc systems.  */
34 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
35     && ! defined __GLIBC__
36 # include <stddef.h>
37 #endif
38
39 #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */
40 #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */