]>
Commit | Line | Data |
---|---|---|
fa00327f RM |
1 | /* This file is needed by libio to define various configuration parameters. |
2 | These are always the same in the GNU C library. */ | |
3 | ||
48a8f832 ZW |
4 | #ifndef _BITS_G_CONFIG_H |
5 | #define _BITS_G_CONFIG_H 1 | |
6 | ||
fa00327f RM |
7 | /* Define types for libio in terms of the standard internal type names. */ |
8 | ||
5107cf1d | 9 | #include <bits/types.h> |
fa00327f | 10 | #define __need_size_t |
7b503bcc UD |
11 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T |
12 | # define __need_wchar_t | |
13 | #endif | |
6973fc01 | 14 | #define __need_NULL |
fa00327f | 15 | #include <stddef.h> |
199fc19d ZW |
16 | |
17 | #include <bits/types/__mbstate_t.h> | |
a4fea3f2 ZW |
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 | ||
7b503bcc | 24 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T |
199fc19d | 25 | # include <bits/types/wint_t.h> |
7b503bcc | 26 | #endif |
199fc19d | 27 | |
7b503bcc UD |
28 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T |
29 | # include <gconv.h> | |
d64b6ad0 UD |
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; | |
7b503bcc | 39 | #endif |
fa00327f RM |
40 | |
41 | ||
42 | /* These library features are always available in the GNU C library. */ | |
fa00327f RM |
43 | #define _G_va_list __gnuc_va_list |
44 | ||
f8b87ef0 | 45 | #define _G_HAVE_MMAP 1 |
eaae7493 | 46 | #define _G_HAVE_MREMAP 1 |
bd355af0 UD |
47 | |
48 | #define _G_IO_IO_FILE_VERSION 0x20001 | |
6259ec0d | 49 | |
5107cf1d | 50 | /* This is defined by <bits/stat.h> if `st_blksize' exists. */ |
fa00327f RM |
51 | #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE) |
52 | ||
53 | #define _G_BUFSIZ 8192 | |
54 | ||
48a8f832 | 55 | #endif /* bits/_G_config.h */ |