diff -r 56cd8111b7f7 -r 41300fa6a67c src/3rdparty/ce-compat/ce_time.h --- a/src/3rdparty/ce-compat/ce_time.h Tue Jan 26 12:42:25 2010 +0200 +++ b/src/3rdparty/ce-compat/ce_time.h Tue Feb 02 00:43:10 2010 +0200 @@ -2,15 +2,24 @@ #define __CE_TIME_H__ #if defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 -// we need to prototype the time functions for Windows CE >= 6.0 +/* we need to prototype the time functions for Windows CE >= 6.0 */ #include +#ifdef __cplusplus +extern "C" { +#endif + 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); + +#ifdef __cplusplus +} /* closing brace for extern "C" */ #endif -#endif +#endif /* defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 */ + +#endif /* !defined(__CE_TIME_H__) */