summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/ce-compat/ce_time.h
blob: 9d946e8f3284db535ec96dae2d24513c42550645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __CE_TIME_H__
#define __CE_TIME_H__

#if defined(_WIN32_WCE) && _WIN32_WCE >= 0x600
// we need to prototype the time functions for Windows CE >= 6.0
#include <crtdefs.h>

struct tm;

time_t time(time_t* timer);
time_t mktime(struct tm *t);
size_t strftime(char * const s, const size_t maxsize, const char * const format, const struct tm * const t);
struct tm *localtime(const time_t *timer);
#endif

#endif