| 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 | #if !defined _BITS_LIBIO_H && !defined _G_CONFIG_H | 
| 8 | # error "Never include <bits/_G_config.h> directly; use <stdio.h> instead." | 
| 9 | #endif | 
| 10 |  | 
| 11 | /* Define types for libio in terms of the standard internal type names.  */ | 
| 12 |  | 
| 13 | #include <bits/types.h> | 
| 14 | #define __need_size_t | 
| 15 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T | 
| 16 | # define __need_wchar_t | 
| 17 | #endif | 
| 18 | #define __need_NULL | 
| 19 | #include <stddef.h> | 
| 20 |  | 
| 21 | #include <bits/types/__mbstate_t.h> | 
| 22 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T | 
| 23 | # include <bits/types/wint_t.h> | 
| 24 | #endif | 
| 25 |  | 
| 26 | typedef struct | 
| 27 | { | 
| 28 |   __off_t __pos; | 
| 29 |   __mbstate_t __state; | 
| 30 | } _G_fpos_t; | 
| 31 | typedef struct | 
| 32 | { | 
| 33 |   __off64_t __pos; | 
| 34 |   __mbstate_t __state; | 
| 35 | } _G_fpos64_t; | 
| 36 | #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T | 
| 37 | # include <gconv.h> | 
| 38 | typedef union | 
| 39 | { | 
| 40 |   struct __gconv_info __cd; | 
| 41 |   struct | 
| 42 |   { | 
| 43 |     struct __gconv_info __cd; | 
| 44 |     struct __gconv_step_data __data; | 
| 45 |   } __combined; | 
| 46 | } _G_iconv_t; | 
| 47 | #endif | 
| 48 |  | 
| 49 |  | 
| 50 | /* These library features are always available in the GNU C library.  */ | 
| 51 | #define _G_va_list __gnuc_va_list | 
| 52 |  | 
| 53 | #define _G_HAVE_MMAP 1 | 
| 54 | #define _G_HAVE_MREMAP 1 | 
| 55 |  | 
| 56 | #define _G_IO_IO_FILE_VERSION 0x20001 | 
| 57 |  | 
| 58 | /* This is defined by <bits/stat.h> if `st_blksize' exists.  */ | 
| 59 | #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE) | 
| 60 |  | 
| 61 | #define _G_BUFSIZ 8192 | 
| 62 |  | 
| 63 | #endif	/* bits/_G_config.h */ | 
| 64 |  |