about summary refs log tree commit diff
path: root/libio/_G_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/_G_config.h')
-rw-r--r--libio/_G_config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libio/_G_config.h b/libio/_G_config.h
index 34d77e2b80..5fa7300bf7 100644
--- a/libio/_G_config.h
+++ b/libio/_G_config.h
@@ -16,6 +16,13 @@
 #define	_G_pid_t	__pid_t
 #define	_G_uid_t	__uid_t
 
+typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
+typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
+typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
+typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
+
+#define _G_HAVE_BOOL 1
+
 
 /* These library features are always available in the GNU C library.  */
 #define _G_HAVE_ATEXIT 1
@@ -25,6 +32,7 @@
 #define _G_va_list __gnuc_va_list
 
 #define _G_HAVE_PRINTF_FP 1
+#define _G_HAVE_MMAP 1
 
 /* This is defined by <statbuf.h> if `st_blksize' exists.  */
 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
@@ -37,4 +45,10 @@
 #define _G_VTABLE_LABEL_HAS_LENGTH 1
 
 
+#if defined (__cplusplus) || defined (__STDC__)
+#define _G_ARGS(ARGLIST) ARGLIST
+#else
+#define _G_ARGS(ARGLIST) ()
+#endif
+
 #endif	/* _G_config.h */