1// ISO C++ date and time declarations 2 3#include <cstddef> 4#include <time.h> 5 6#pragma once 7 8// Get rid of those macros defined in <time.h> in lieu of real functions. 9#undef clock 10#undef difftime 11#undef mktime 12#undef time 13#undef asctime 14#undef ctime 15#undef gmtime 16#undef localtime 17#undef strftime 18 19namespace std 20{ 21 using ::clock_t; 22 using ::time_t; 23 using ::tm; 24 25 using ::clock; 26 using ::difftime; 27 using ::mktime; 28 using ::time; 29 using ::asctime; 30 using ::ctime; 31 using ::gmtime; 32 using ::localtime; 33 using ::strftime; 34} 35