std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed.
* include/c_std/bits/std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed. * include/c_std/bits/std_csetjmp.h (setjmp): Likewise. * include/c_std/bits/std_cstdarg.h (va_end): Likewise. From-SVN: r41507
This commit is contained in:
parent
337187ff26
commit
910e8539cb
@ -1,3 +1,10 @@
|
||||
2001-04-23 Loren J. Rittle <ljrittle@acm.org>
|
||||
|
||||
* include/c_std/bits/std_cerrno.h (errno): Define macro from
|
||||
identifier declared with external linkage, if needed.
|
||||
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
|
||||
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.
|
||||
|
||||
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
|
||||
|
||||
* acinclude.m4 (CXX): Set to CXX so that in-directory
|
||||
|
@ -39,4 +39,9 @@
|
||||
#pragma GCC system_header
|
||||
#include <errno.h>
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef errno
|
||||
#define errno errno
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -42,6 +42,11 @@
|
||||
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.
|
||||
#undef longjmp
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef setjmp
|
||||
#define setjmp(env) setjmp (env)
|
||||
#endif
|
||||
|
||||
namespace std
|
||||
{
|
||||
using ::jmp_buf;
|
||||
|
@ -39,6 +39,11 @@
|
||||
#pragma GCC system_header
|
||||
#include <stdarg.h>
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef va_end
|
||||
#define va_end(ap) va_end (ap)
|
||||
#endif
|
||||
|
||||
namespace std
|
||||
{
|
||||
using ::va_list;
|
||||
|
Loading…
Reference in New Issue
Block a user