about summary refs log tree commit diff
path: root/libio/libio.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-09-20 14:41:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-09-20 14:41:02 +0000
commit8a26625d21763a0da2260da197b16abbeefe408d (patch)
treef49a8b23cdb4cc9178eae202967dc2dad459b0ab /libio/libio.h
parent11aaf6ef2de7c0757b51dd96a301280746012fd0 (diff)
downloadglibc-8a26625d21763a0da2260da197b16abbeefe408d.tar.gz
glibc-8a26625d21763a0da2260da197b16abbeefe408d.tar.xz
glibc-8a26625d21763a0da2260da197b16abbeefe408d.zip
Remove _G_NEED_STDARG_H.
Diffstat (limited to 'libio/libio.h')
-rw-r--r--libio/libio.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/libio/libio.h b/libio/libio.h
index 14bb9a663e..5fe1bac091 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -47,15 +47,13 @@
 #define _IO_va_list _G_va_list
 #define _IO_wint_t _G_wint_t
 
-#ifdef _G_NEED_STDARG_H
 /* This define avoids name pollution if we're using GNU stdarg.h */
-# define __need___va_list
-# include <stdarg.h>
-# ifdef __GNUC_VA_LIST
-#  undef _IO_va_list
-#  define _IO_va_list __gnuc_va_list
-# endif /* __GNUC_VA_LIST */
-#endif
+#define __need___va_list
+#include <stdarg.h>
+#ifdef __GNUC_VA_LIST
+# undef _IO_va_list
+# define _IO_va_list __gnuc_va_list
+#endif /* __GNUC_VA_LIST */
 
 #ifndef __P
 # include <sys/cdefs.h>