1169691Skan// TR1 cstdint -*- C++ -*- 2169691Skan 3169691Skan// Copyright (C) 2006 Free Software Foundation, Inc. 4169691Skan// 5169691Skan// This file is part of the GNU ISO C++ Library. This library is free 6169691Skan// software; you can redistribute it and/or modify it under the 7169691Skan// terms of the GNU General Public License as published by the 8169691Skan// Free Software Foundation; either version 2, or (at your option) 9169691Skan// any later version. 10169691Skan 11169691Skan// This library is distributed in the hope that it will be useful, 12169691Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of 13169691Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14169691Skan// GNU General Public License for more details. 15169691Skan 16169691Skan// You should have received a copy of the GNU General Public License along 17169691Skan// with this library; see the file COPYING. If not, write to the Free 18169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19169691Skan// USA. 20169691Skan 21169691Skan// As a special exception, you may use this file as part of a free software 22169691Skan// library without restriction. Specifically, if other files instantiate 23169691Skan// templates or use macros or inline functions from this file, or you compile 24169691Skan// this file and link it with other files to produce an executable, this 25169691Skan// file does not by itself cause the resulting executable to be covered by 26169691Skan// the GNU General Public License. This exception does not however 27169691Skan// invalidate any other reasons why the executable file might be covered by 28169691Skan// the GNU General Public License. 29169691Skan 30169691Skan/** @file tr1/cstdint 31169691Skan * This is a TR1 C++ Library header. 32169691Skan */ 33169691Skan 34169691Skan#ifndef _TR1_CSTDINT 35169691Skan#define _TR1_CSTDINT 1 36169691Skan 37169691Skan#include <bits/c++config.h> 38169691Skan 39169691Skan#if _GLIBCXX_USE_C99_STDINT_TR1 40169691Skan 41169691Skan// For 8.22.1/1 (see C99, Notes 219, 220, 222) 42169691Skan#define __STDC_LIMIT_MACROS 43169691Skan#define __STDC_CONSTANT_MACROS 44169691Skan#include <stdint.h> 45169691Skan 46169691Skan// namespace std::tr1 47169691Skannamespace std 48169691Skan{ 49169691Skan_GLIBCXX_BEGIN_NAMESPACE(tr1) 50169691Skan 51169691Skan using ::int8_t; 52169691Skan using ::int16_t; 53169691Skan using ::int32_t; 54169691Skan using ::int64_t; 55169691Skan 56169691Skan using ::int_fast8_t; 57169691Skan using ::int_fast16_t; 58169691Skan using ::int_fast32_t; 59169691Skan using ::int_fast64_t; 60169691Skan 61169691Skan using ::int_least8_t; 62169691Skan using ::int_least16_t; 63169691Skan using ::int_least32_t; 64169691Skan using ::int_least64_t; 65169691Skan 66169691Skan using ::intmax_t; 67169691Skan using ::intptr_t; 68169691Skan 69169691Skan using ::uint8_t; 70169691Skan using ::uint16_t; 71169691Skan using ::uint32_t; 72169691Skan using ::uint64_t; 73169691Skan 74169691Skan using ::uint_fast8_t; 75169691Skan using ::uint_fast16_t; 76169691Skan using ::uint_fast32_t; 77169691Skan using ::uint_fast64_t; 78169691Skan 79169691Skan using ::uint_least8_t; 80169691Skan using ::uint_least16_t; 81169691Skan using ::uint_least32_t; 82169691Skan using ::uint_least64_t; 83169691Skan 84169691Skan using ::uintmax_t; 85169691Skan using ::uintptr_t; 86169691Skan 87169691Skan_GLIBCXX_END_NAMESPACE 88169691Skan} 89169691Skan 90169691Skan#endif 91169691Skan 92169691Skan#endif 93