Remove "[Add new features here]" for 2.27
[glibc.git] / sysdeps / generic / _G_config.h
blobc49eed395b750d4c0864d543292bf62e0577a658
1 /* This file is needed by libio to define various configuration parameters.
2 These are always the same in the GNU C library. */
4 #ifndef _G_config_h
5 #define _G_config_h 1
7 /* Define types for libio in terms of the standard internal type names. */
9 #include <bits/types.h>
10 #define __need_size_t
11 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
12 # define __need_wchar_t
13 #endif
14 #define __need_NULL
15 #include <stddef.h>
17 #include <bits/types/__mbstate_t.h>
18 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
19 # include <bits/types/wint_t.h>
20 #endif
22 typedef struct
24 __off_t __pos;
25 __mbstate_t __state;
26 } _G_fpos_t;
27 typedef struct
29 __off64_t __pos;
30 __mbstate_t __state;
31 } _G_fpos64_t;
32 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
33 # include <gconv.h>
34 typedef union
36 struct __gconv_info __cd;
37 struct
39 struct __gconv_info __cd;
40 struct __gconv_step_data __data;
41 } __combined;
42 } _G_iconv_t;
43 #endif
46 /* These library features are always available in the GNU C library. */
47 #define _G_va_list __gnuc_va_list
49 #define _G_HAVE_MMAP 1
51 #define _G_IO_IO_FILE_VERSION 0x20001
53 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
54 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
56 #define _G_BUFSIZ 8192
58 #endif /* _G_config.h */