equal
deleted
inserted
replaced
1 #ifndef __CE_TIME_H__ |
1 #ifndef __CE_TIME_H__ |
2 #define __CE_TIME_H__ |
2 #define __CE_TIME_H__ |
3 |
3 |
4 #if defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 |
4 #if defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 |
5 // we need to prototype the time functions for Windows CE >= 6.0 |
5 /* we need to prototype the time functions for Windows CE >= 6.0 */ |
6 #include <crtdefs.h> |
6 #include <crtdefs.h> |
|
7 |
|
8 #ifdef __cplusplus |
|
9 extern "C" { |
|
10 #endif |
7 |
11 |
8 struct tm; |
12 struct tm; |
9 |
13 |
10 time_t time(time_t* timer); |
14 time_t time(time_t* timer); |
11 time_t mktime(struct tm *t); |
15 time_t mktime(struct tm *t); |
12 size_t strftime(char * const s, const size_t maxsize, const char * const format, const struct tm * const t); |
16 size_t strftime(char * const s, const size_t maxsize, const char * const format, const struct tm * const t); |
13 struct tm *localtime(const time_t *timer); |
17 struct tm *localtime(const time_t *timer); |
|
18 |
|
19 #ifdef __cplusplus |
|
20 } /* closing brace for extern "C" */ |
14 #endif |
21 #endif |
15 |
22 |
16 #endif |
23 #endif /* defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 */ |
|
24 |
|
25 #endif /* !defined(__CE_TIME_H__) */ |