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:
Paolo Carlini 2006-07-24 12:30:28 +00:00 committed by Paolo Carlini
parent 63c2d00ca7
commit a0cbafebd7
4 changed files with 13 additions and 13 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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