]>
git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/_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
31 #define _G_off64_t __off64_t
32 #define _G_stat64 stat64
33 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
37 struct __gconv_info __cd
;
40 struct __gconv_info __cd
;
41 struct __gconv_step_data __data
;
47 /* These library features are always available in the GNU C library. */
48 #define _G_va_list __gnuc_va_list
50 #define _G_HAVE_MMAP 1
51 #define _G_HAVE_MREMAP 1
53 #define _G_IO_IO_FILE_VERSION 0x20001
55 #define _G_OPEN64 __open64
56 #define _G_LSEEK64 __lseek64
57 #define _G_MMAP64 __mmap64
58 #define _G_FSTAT64(fd,buf) __fxstat64 (_STAT_VER, fd, buf)
60 /* This is defined by <bits/stat.h> if `st_blksize' exists. */
61 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
63 #define _G_BUFSIZ 8192
65 #endif /* _G_config.h */