mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-25 13:51:04 +08:00
Remove _G_NEED_STDARG_H.
This commit is contained in:
parent
11aaf6ef2d
commit
8a26625d21
@ -1,3 +1,10 @@
|
||||
2012-09-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
|
||||
* sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
|
||||
* sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
|
||||
* sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
|
||||
|
||||
2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
|
||||
|
||||
[BZ #14579]
|
||||
|
@ -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>
|
||||
|
@ -53,7 +53,6 @@ typedef union
|
||||
|
||||
/* These library features are always available in the GNU C library. */
|
||||
#define _G_HAVE_SYS_WAIT 1
|
||||
#define _G_NEED_STDARG_H 1
|
||||
#define _G_va_list __gnuc_va_list
|
||||
|
||||
#define _G_HAVE_MMAP 1
|
||||
|
@ -53,7 +53,6 @@ typedef union
|
||||
|
||||
/* These library features are always available in the GNU C library. */
|
||||
#define _G_HAVE_SYS_WAIT 1
|
||||
#define _G_NEED_STDARG_H 1
|
||||
#define _G_va_list __gnuc_va_list
|
||||
|
||||
#define _G_HAVE_MMAP 1
|
||||
|
@ -53,7 +53,6 @@ typedef union
|
||||
|
||||
/* These library features are always available in the GNU C library. */
|
||||
#define _G_HAVE_SYS_WAIT 1
|
||||
#define _G_NEED_STDARG_H 1
|
||||
#define _G_va_list __gnuc_va_list
|
||||
|
||||
#define _G_HAVE_MMAP 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user