1102782Skan// -*- C++ -*- compatibility header. 2102782Skan 3102782Skan// Copyright (C) 2002 Free Software Foundation, Inc. 4102782Skan// 5102782Skan// This file is part of the GNU ISO C++ Library. This library is free 6102782Skan// software; you can redistribute it and/or modify it under the 7102782Skan// terms of the GNU General Public License as published by the 8102782Skan// Free Software Foundation; either version 2, or (at your option) 9102782Skan// any later version. 10102782Skan 11102782Skan// This library is distributed in the hope that it will be useful, 12102782Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of 13102782Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14102782Skan// GNU General Public License for more details. 15102782Skan 16102782Skan// You should have received a copy of the GNU General Public License along 17102782Skan// 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, 19102782Skan// USA. 20102782Skan 21102782Skan// As a special exception, you may use this file as part of a free software 22102782Skan// library without restriction. Specifically, if other files instantiate 23102782Skan// templates or use macros or inline functions from this file, or you compile 24102782Skan// this file and link it with other files to produce an executable, this 25102782Skan// file does not by itself cause the resulting executable to be covered by 26102782Skan// the GNU General Public License. This exception does not however 27102782Skan// invalidate any other reasons why the executable file might be covered by 28102782Skan// the GNU General Public License. 29102782Skan 30132720Skan#ifndef _GLIBCXX_TIME_H 31132720Skan#define _GLIBCXX_TIME_H 1 32102782Skan 33102782Skan#include <ctime> 34132720Skan 35102782Skan// Get rid of those macros defined in <time.h> in lieu of real functions. 36102782Skan#undef clock 37102782Skan#undef difftime 38102782Skan#undef mktime 39102782Skan#undef time 40102782Skan#undef asctime 41102782Skan#undef ctime 42102782Skan#undef gmtime 43102782Skan#undef localtime 44102782Skan#undef strftime 45102782Skan 46102782Skanusing std::clock_t; 47102782Skanusing std::time_t; 48102782Skanusing std::tm; 49102782Skan 50102782Skanusing std::clock; 51102782Skanusing std::difftime; 52102782Skanusing std::mktime; 53102782Skanusing std::time; 54102782Skanusing std::asctime; 55102782Skanusing std::ctime; 56102782Skanusing std::gmtime; 57102782Skanusing std::localtime; 58102782Skanusing std::strftime; 59102782Skan 60102782Skan#endif 61