1166124Srafan// TR1 cstdint -*- C++ -*-
2166124Srafan
3166124Srafan// Copyright (C) 2006 Free Software Foundation, Inc.
4166124Srafan//
5166124Srafan// This file is part of the GNU ISO C++ Library.  This library is free
6166124Srafan// software; you can redistribute it and/or modify it under the
7166124Srafan// terms of the GNU General Public License as published by the
8166124Srafan// Free Software Foundation; either version 2, or (at your option)
9166124Srafan// any later version.
10166124Srafan
11166124Srafan// This library is distributed in the hope that it will be useful,
12166124Srafan// but WITHOUT ANY WARRANTY; without even the implied warranty of
13166124Srafan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14166124Srafan// GNU General Public License for more details.
15166124Srafan
16166124Srafan// You should have received a copy of the GNU General Public License along
17166124Srafan// with this library; see the file COPYING.  If not, write to the Free
18166124Srafan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19166124Srafan// USA.
20166124Srafan
21166124Srafan// As a special exception, you may use this file as part of a free software
22166124Srafan// library without restriction.  Specifically, if other files instantiate
23166124Srafan// templates or use macros or inline functions from this file, or you compile
24166124Srafan// this file and link it with other files to produce an executable, this
25166124Srafan// file does not by itself cause the resulting executable to be covered by
26166124Srafan// the GNU General Public License.  This exception does not however
27166124Srafan// invalidate any other reasons why the executable file might be covered by
28166124Srafan// the GNU General Public License.
29166124Srafan
30166124Srafan/** @file tr1/cstdint
31166124Srafan *  This is a TR1 C++ Library header. 
32166124Srafan */
33166124Srafan
34166124Srafan#ifndef _TR1_CSTDINT
35166124Srafan#define _TR1_CSTDINT 1
36166124Srafan
37166124Srafan#include <bits/c++config.h>
38166124Srafan
39166124Srafan#if _GLIBCXX_USE_C99_STDINT_TR1
40166124Srafan
41166124Srafan// For 8.22.1/1 (see C99, Notes 219, 220, 222) 
42166124Srafan#define __STDC_LIMIT_MACROS
43166124Srafan#define __STDC_CONSTANT_MACROS
44166124Srafan#include <stdint.h>
45166124Srafan
46166124Srafan// namespace std::tr1
47166124Srafannamespace std
48166124Srafan{
49166124Srafan_GLIBCXX_BEGIN_NAMESPACE(tr1)
50166124Srafan
51166124Srafan  using ::int8_t;
52166124Srafan  using ::int16_t;
53166124Srafan  using ::int32_t;
54166124Srafan  using ::int64_t;
55166124Srafan
56166124Srafan  using ::int_fast8_t;
57166124Srafan  using ::int_fast16_t;
58166124Srafan  using ::int_fast32_t;
59166124Srafan  using ::int_fast64_t;
60166124Srafan
61166124Srafan  using ::int_least8_t;
62166124Srafan  using ::int_least16_t;
63166124Srafan  using ::int_least32_t;
64166124Srafan  using ::int_least64_t;
65166124Srafan
66166124Srafan  using ::intmax_t;
67166124Srafan  using ::intptr_t;
68166124Srafan  
69166124Srafan  using ::uint8_t;
70166124Srafan  using ::uint16_t;
71166124Srafan  using ::uint32_t;
72166124Srafan  using ::uint64_t;
73166124Srafan
74166124Srafan  using ::uint_fast8_t;
75166124Srafan  using ::uint_fast16_t;
76166124Srafan  using ::uint_fast32_t;
77166124Srafan  using ::uint_fast64_t;
78166124Srafan
79166124Srafan  using ::uint_least8_t;
80166124Srafan  using ::uint_least16_t;
81166124Srafan  using ::uint_least32_t;
82166124Srafan  using ::uint_least64_t;
83166124Srafan
84166124Srafan  using ::uintmax_t;
85166124Srafan  using ::uintptr_t;
86166124Srafan
87166124Srafan_GLIBCXX_END_NAMESPACE
88166124Srafan}
89166124Srafan
90166124Srafan#endif
91166124Srafan
92166124Srafan#endif
93166124Srafan