1 /* This file is needed by libio to define various configuration parameters.
2 These are always the same in the GNU C library. */
8 # include <bits/c++config.h>
9 # ifdef _GLIBCPP_USE_THREADS
10 # define _IO_MTSAFE_IO
14 /* Define types for libio in terms of the standard internal type names. */
16 #include <sys/types.h>
18 #define __need_wchar_t
21 #define __need_ptrdiff_t
30 /* Integral type unchanged by default argument promotions that can
31 hold any value corresponding to members of the extended character
32 set, as well as at least one value that does not correspond to any
33 member of the extended character set. */
35 typedef unsigned int wint_t;
38 /* For use as part of glibc (native) or as part of libstdc++ (maybe
40 #ifndef __c_mbstate_t_defined
41 # define __c_mbstate_t_defined 1
42 /*# ifdef _GLIBCPP_USE_WCHAR_T*/
50 #undef __need_mbstate_t
52 typedef size_t _G_size_t
;
55 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
59 __c_mbstate_t __state
;
65 __c_mbstate_t __state
;
68 typedef __off_t _G_fpos_t
;
69 typedef __off64_t _G_fpos64_t
;
71 #define _G_ssize_t __ssize_t
72 #define _G_off_t __off_t
73 #define _G_off64_t __off64_t
74 #define _G_pid_t __pid_t
75 #define _G_uid_t __uid_t
76 #define _G_wchar_t wchar_t
77 #define _G_wint_t wint_t
78 #define _G_stat64 stat64
79 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
81 typedef iconv_t _G_iconv_t
;
84 typedef int _G_int16_t
__attribute__ ((__mode__ (__HI__
)));
85 typedef int _G_int32_t
__attribute__ ((__mode__ (__SI__
)));
86 typedef unsigned int _G_uint16_t
__attribute__ ((__mode__ (__HI__
)));
87 typedef unsigned int _G_uint32_t
__attribute__ ((__mode__ (__SI__
)));
89 #define _G_HAVE_BOOL 1
92 /* These library features are always available in the GNU C library. */
93 #define _G_HAVE_ATEXIT 1
94 #define _G_HAVE_SYS_CDEFS 1
95 #define _G_HAVE_SYS_WAIT 1
96 #define _G_NEED_STDARG_H 1
97 #define _G_va_list __gnuc_va_list
99 #define _G_HAVE_PRINTF_FP 1
100 #define _G_HAVE_MMAP 1
101 #define _G_HAVE_LONG_DOUBLE_IO 1
102 #define _G_HAVE_IO_FILE_OPEN 1
103 #define _G_HAVE_IO_GETLINE_INFO 1
105 #define _G_IO_IO_FILE_VERSION 0x20001
107 //#define _G_OPEN64 __open64
108 //#define _G_LSEEK64 __lseek64
109 //#define _G_FSTAT64(fd,buf) __fxstat64 (_STAT_VER, fd, buf)
111 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
112 /*#define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)*/
114 #define _G_BUFSIZ 8192
116 /* These are the vtbl details for ELF. */
117 #define _G_NAMES_HAVE_UNDERSCORE 0
118 #define _G_VTABLE_LABEL_HAS_LENGTH 1
119 #ifndef _G_USING_THUNKS
120 # define _G_USING_THUNKS 1
121 #endif /* _G_USING_THUNKS */
122 #define _G_VTABLE_LABEL_PREFIX "__vt_"
123 #define _G_VTABLE_LABEL_PREFIX_ID __vt_
125 #define _G_INTERNAL_CCS "UCS4"
126 #define _G_HAVE_WEAK_SYMBOL 1
127 #define _G_STDIO_USES_LIBIO 1
129 #if defined __cplusplus || defined __STDC__
130 # define _G_ARGS(ARGLIST) ARGLIST
132 # define _G_ARGS(ARGLIST) ()
135 #endif /* _G_config.h */