update from main archive 960105
[glibc/history.git] / libio / _G_config.h
blob4b47e886a5eb1f10b370b01a5f67bceb88316ca6
1 /* This file is needed by libio to define various configuration parameters.
2 These are always the same in the GNU C library. */
4 #ifndef _G_config_h
5 #define _G_config_h 1
7 /* Define types for libio in terms of the standard internal type names. */
9 #include <gnu/types.h>
10 #define __need_size_t
11 #include <stddef.h>
12 #define _G_size_t size_t
13 #define _G_fpos_t __off_t
14 #define _G_ssize_t __ssize_t
15 #define _G_off_t __off_t
16 #define _G_pid_t __pid_t
17 #define _G_uid_t __uid_t
19 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
20 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
21 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
22 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
24 #define _G_HAVE_BOOL 1
27 /* These library features are always available in the GNU C library. */
28 #define _G_HAVE_ATEXIT 1
29 #define _G_HAVE_SYS_CDEFS 1
30 #define _G_HAVE_SYS_WAIT 1
31 #define _G_NEED_STDARG_H 1
32 #define _G_va_list __gnuc_va_list
34 #define _G_HAVE_PRINTF_FP 1
35 #define _G_HAVE_MMAP 1
36 #define _G_HAVE_LONG_DOUBLE_IO 1
38 /* This is defined by <statbuf.h> if `st_blksize' exists. */
39 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
41 #define _G_BUFSIZ 8192
43 /* These are the vtbl details for ELF. */
44 #define _G_NAMES_HAVE_UNDERSCORE 0
45 #define _G_VTABLE_LABEL_PREFIX "_vt."
46 #define _G_VTABLE_LABEL_HAS_LENGTH 1
49 #if defined (__cplusplus) || defined (__STDC__)
50 #define _G_ARGS(ARGLIST) ARGLIST
51 #else
52 #define _G_ARGS(ARGLIST) ()
53 #endif
55 #endif /* _G_config.h */