forked from enlightenment/efl
dumb mod just to test meson
This commit is contained in:
parent
d0033ba6d4
commit
633d5cec91
|
@ -1,4 +1,4 @@
|
||||||
#include<sys/time.h>
|
#include<time.h>
|
||||||
|
|
||||||
int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,8 @@ int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int localtime_s(struct tm * result, const time_t * time){ return 0; }
|
||||||
|
|
||||||
struct tm *localtime_r(const time_t * time, struct tm * result)
|
struct tm *localtime_r(const time_t * time, struct tm * result)
|
||||||
{
|
{
|
||||||
localtime_s(result, time);
|
localtime_s(result, time);
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
// Windows Kit for Windows 10 already defines `struct timeval` and `time_t`
|
// Windows Kit for Windows 10 already defines `struct timeval` and `time_t`
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef unsigned short u_short;
|
typedef unsigned short u_short;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue