1 /* This file is needed by libio to define various configuration parameters.
2 These are always the same in the GNU C library. */
4 /* We have to keep a separate copy for CRIS, because we don't use thunks,
5 and libstdc++-v2 (which we currently use) cares. The C++ ABI is
6 changed totally with GCC 3.0, where we should not need a separate file. */
11 /* Define types for libio in terms of the standard internal type names. */
13 #include <bits/types.h>
15 #define __need_wchar_t
20 /* Integral type unchanged by default argument promotions that can
21 hold any value corresponding to members of the extended character
22 set, as well as at least one value that does not correspond to any
23 member of the extended character set. */
25 typedef unsigned int wint_t;
27 #define __need_mbstate_t
29 #define _G_size_t size_t
40 #define _G_ssize_t __ssize_t
41 #define _G_off_t __off_t
42 #define _G_off64_t __off64_t
43 #define _G_pid_t __pid_t
44 #define _G_uid_t __uid_t
45 #define _G_wchar_t wchar_t
46 #define _G_wint_t wint_t
47 #define _G_stat64 stat64
51 struct __gconv_info __cd
;
54 struct __gconv_info __cd
;
55 struct __gconv_step_data __data
;
59 typedef int _G_int16_t
__attribute__ ((__mode__ (__HI__
)));
60 typedef int _G_int32_t
__attribute__ ((__mode__ (__SI__
)));
61 typedef unsigned int _G_uint16_t
__attribute__ ((__mode__ (__HI__
)));
62 typedef unsigned int _G_uint32_t
__attribute__ ((__mode__ (__SI__
)));
64 #define _G_HAVE_BOOL 1
67 /* These library features are always available in the GNU C library. */
68 #define _G_HAVE_ATEXIT 1
69 #define _G_HAVE_SYS_CDEFS 1
70 #define _G_HAVE_SYS_WAIT 1
71 #define _G_NEED_STDARG_H 1
72 #define _G_va_list __gnuc_va_list
74 #define _G_HAVE_PRINTF_FP 1
75 #define _G_HAVE_MMAP 1
76 #define _G_HAVE_LONG_DOUBLE_IO 1
77 #define _G_HAVE_IO_FILE_OPEN 1
78 #define _G_HAVE_IO_GETLINE_INFO 1
80 #define _G_IO_IO_FILE_VERSION 0x20001
82 #define _G_OPEN64 __open64
83 #define _G_LSEEK64 __lseek64
84 #define _G_MMAP64 __mmap64
85 #define _G_FSTAT64(fd,buf) __fxstat64 (_STAT_VER, fd, buf)
87 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
88 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
90 #define _G_BUFSIZ 8192
92 /* These are the vtbl details for ELF. */
93 #define _G_NAMES_HAVE_UNDERSCORE 0
94 #define _G_VTABLE_LABEL_HAS_LENGTH 1
95 #undef _G_USING_THUNKS
96 #define _G_VTABLE_LABEL_PREFIX "_vt."
97 #define _G_VTABLE_LABEL_PREFIX_ID _vt.
100 #if defined __cplusplus || defined __STDC__
101 # define _G_ARGS(ARGLIST) ARGLIST
103 # define _G_ARGS(ARGLIST) ()
106 #endif /* _G_config.h */