src/3rdparty/ce-compat/ce_time.h
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 09:15:16 +0300
branchRCL_3
changeset 11 68d3b337861b
parent 3 41300fa6a67c
permissions -rw-r--r--
bac24638cd0e032feaaaf81f375284a059242729

#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>

#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 /* defined(_WIN32_WCE) && _WIN32_WCE >= 0x600 */

#endif /* !defined(__CE_TIME_H__) */