]> sourceware.org Git - glibc.git/blob - bits/_G_config.h
Post-cleanup 1: move libio.h back out of bits/.
[glibc.git] / bits / _G_config.h
1 /* This file is needed by libio to define various configuration parameters.
2 These are always the same in the GNU C library. */
3
4 #ifndef _BITS_G_CONFIG_H
5 #define _BITS_G_CONFIG_H 1
6
7 /* Define types for libio in terms of the standard internal type names. */
8
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>
16
17 #include <bits/types/__mbstate_t.h>
18 #include <bits/types/__fpos_t.h>
19 #include <bits/types/__fpos64_t.h>
20
21 #define _G_fpos_t __fpos_t
22 #define _G_fpos64_t __fpos64_t
23
24 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
25 # include <bits/types/wint_t.h>
26 #endif
27
28 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
29 # include <gconv.h>
30 typedef union
31 {
32 struct __gconv_info __cd;
33 struct
34 {
35 struct __gconv_info __cd;
36 struct __gconv_step_data __data;
37 } __combined;
38 } _G_iconv_t;
39 #endif
40
41
42 /* These library features are always available in the GNU C library. */
43 #define _G_va_list __gnuc_va_list
44
45 #define _G_HAVE_MMAP 1
46
47 #define _G_IO_IO_FILE_VERSION 0x20001
48
49 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
50 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
51
52 #define _G_BUFSIZ 8192
53
54 #endif /* bits/_G_config.h */
This page took 0.037505 seconds and 5 git commands to generate.