~ubuntu-branches/ubuntu/trusty/qtscript-opensource-src/trusty

« back to all changes in this revision

Viewing changes to src/3rdparty/ce-compat/ce_time.h

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2014-03-10 14:30:51 UTC
  • mfrom: (1.1.4) (5.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140310143051-6rr67kxeqic3zern
Tags: 5.2.1+dfsg-1ubuntu1
* debian/patches/aarch64.patch
  - Needed to fix arm64 FTBFS

Show diffs side-by-side

added added

removed removed

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