cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1.
2006-07-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1. * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1. * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1. From-SVN: r115715
This commit is contained in:
parent
63c2d00ca7
commit
a0cbafebd7
@ -1,3 +1,10 @@
|
|||||||
|
2006-07-24 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
* include/tr1/cinttypes: Simply protect everything with
|
||||||
|
_GLIBCXX_USE_C99_INTTYPES_TR1.
|
||||||
|
* include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1.
|
||||||
|
* include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1.
|
||||||
|
|
||||||
2006-07-21 Benjamin Kosnik <bkoz@redhat.com>
|
2006-07-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* include/tr1/random: Make include guards consistent.
|
* include/tr1/random: Make include guards consistent.
|
||||||
|
@ -36,12 +36,10 @@
|
|||||||
|
|
||||||
#include <bits/c++config.h>
|
#include <bits/c++config.h>
|
||||||
|
|
||||||
#if _GLIBCXX_HAVE_FENV_H
|
|
||||||
#include <fenv.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if _GLIBCXX_USE_C99_FENV_TR1
|
#if _GLIBCXX_USE_C99_FENV_TR1
|
||||||
|
|
||||||
|
#include <fenv.h>
|
||||||
|
|
||||||
#undef feclearexcept
|
#undef feclearexcept
|
||||||
#undef fegetexceptflag
|
#undef fegetexceptflag
|
||||||
#undef feraiseexcept
|
#undef feraiseexcept
|
||||||
|
@ -35,16 +35,13 @@
|
|||||||
#define _TR1_CINTTYPES 1
|
#define _TR1_CINTTYPES 1
|
||||||
|
|
||||||
#include <bits/c++config.h>
|
#include <bits/c++config.h>
|
||||||
|
|
||||||
#include <tr1/cstdint>
|
#include <tr1/cstdint>
|
||||||
|
|
||||||
#if _GLIBCXX_HAVE_INTTYPES_H
|
#if _GLIBCXX_USE_C99_INTTYPES_TR1
|
||||||
|
|
||||||
// For 8.11.1/1 (see C99, Note 184)
|
// For 8.11.1/1 (see C99, Note 184)
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if _GLIBCXX_USE_C99_INTTYPES_TR1
|
|
||||||
|
|
||||||
// namespace std::tr1
|
// namespace std::tr1
|
||||||
namespace std
|
namespace std
|
||||||
|
@ -36,14 +36,12 @@
|
|||||||
|
|
||||||
#include <bits/c++config.h>
|
#include <bits/c++config.h>
|
||||||
|
|
||||||
#if _GLIBCXX_HAVE_STDINT_H
|
#if _GLIBCXX_USE_C99_STDINT_TR1
|
||||||
|
|
||||||
// For 8.22.1/1 (see C99, Notes 219, 220, 222)
|
// For 8.22.1/1 (see C99, Notes 219, 220, 222)
|
||||||
#define __STDC_LIMIT_MACROS
|
#define __STDC_LIMIT_MACROS
|
||||||
#define __STDC_CONSTANT_MACROS
|
#define __STDC_CONSTANT_MACROS
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if _GLIBCXX_USE_C99_STDINT_TR1
|
|
||||||
|
|
||||||
// namespace std::tr1
|
// namespace std::tr1
|
||||||
namespace std
|
namespace std
|
||||||
|
Loading…
Reference in New Issue
Block a user