2001-11-18 10:24:36 +00:00
|
|
|
/* Header is not present in Windows CE SDK */
|
|
|
|
|
|
|
|
#ifndef A800_TIME_H
|
|
|
|
#define A800_TIME_H
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2019-03-31 19:07:40 +01:00
|
|
|
#ifdef __MINGW32CE__
|
|
|
|
#include_next <time.h>
|
|
|
|
#else
|
2011-03-09 03:02:46 +01:00
|
|
|
struct tm {
|
2001-11-18 10:24:36 +00:00
|
|
|
short tm_year;
|
|
|
|
short tm_mon;
|
|
|
|
short tm_mday;
|
|
|
|
short tm_wday;
|
|
|
|
short tm_hour;
|
|
|
|
short tm_min;
|
|
|
|
short tm_sec;
|
|
|
|
};
|
|
|
|
|
2006-10-08 18:15:18 +00:00
|
|
|
#ifdef __GNUC__
|
|
|
|
#define EXT_C extern "C"
|
|
|
|
#else
|
2008-01-27 19:47:41 +00:00
|
|
|
#define EXT_C
|
2006-10-08 18:15:18 +00:00
|
|
|
#endif
|
|
|
|
|
2011-03-09 03:02:46 +01:00
|
|
|
EXT_C time_t time(time_t *dummy);
|
|
|
|
EXT_C struct tm *localtime(time_t *dummy);
|
2001-11-18 10:24:36 +00:00
|
|
|
|
|
|
|
unsigned int clock();
|
|
|
|
|
|
|
|
#endif
|
2007-10-28 19:14:12 +00:00
|
|
|
#endif
|