]>
git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/generic/_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. */
7 /* Define types for libio in terms of the standard internal type names. */
9 #include <bits/types.h>
11 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
12 # define __need_wchar_t
16 #define __need_mbstate_t
17 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
18 # define __need_wint_t
21 #define _G_size_t size_t
32 #define _G_ssize_t __ssize_t
33 #define _G_off_t __off_t
34 #define _G_off64_t __off_t
35 #define _G_pid_t __pid_t
36 #define _G_uid_t __uid_t
37 #define _G_wchar_t wchar_t
38 #define _G_wint_t wint_t
39 #define _G_stat64 stat
40 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
44 struct __gconv_info __cd
;
47 struct __gconv_info __cd
;
48 struct __gconv_step_data __data
;
53 typedef int _G_int16_t
__attribute__ ((__mode__ (__HI__
)));
54 typedef int _G_int32_t
__attribute__ ((__mode__ (__SI__
)));
55 typedef unsigned int _G_uint16_t
__attribute__ ((__mode__ (__HI__
)));
56 typedef unsigned int _G_uint32_t
__attribute__ ((__mode__ (__SI__
)));
58 #define _G_HAVE_BOOL 1
61 /* These library features are always available in the GNU C library. */
62 #define _G_HAVE_ATEXIT 1
63 #define _G_HAVE_SYS_WAIT 1
64 #define _G_NEED_STDARG_H 1
65 #define _G_va_list __gnuc_va_list
67 #define _G_HAVE_PRINTF_FP 1
68 #define _G_HAVE_MMAP 1
69 #define _G_HAVE_LONG_DOUBLE_IO 1
70 #define _G_HAVE_IO_FILE_OPEN 1
71 #define _G_HAVE_IO_GETLINE_INFO 1
73 #define _G_IO_IO_FILE_VERSION 0x20001
75 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
76 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
78 #define _G_BUFSIZ 8192
80 #endif /* _G_config.h */