always allow upstream time.h to be visible
This commit is contained in:
parent
862cd768b7
commit
31c98c2969
@ -3,9 +3,6 @@
|
|||||||
* sys/time.h compatibility shim
|
* sys/time.h compatibility shim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBCRYPTOCOMPAT_TIME_H
|
|
||||||
#define LIBCRYPTOCOMPAT_TIME_H
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#if _MSC_VER >= 1900
|
#if _MSC_VER >= 1900
|
||||||
#include <../ucrt/time.h>
|
#include <../ucrt/time.h>
|
||||||
@ -16,6 +13,9 @@
|
|||||||
#include_next <time.h>
|
#include_next <time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef LIBCRYPTOCOMPAT_TIME_H
|
||||||
|
#define LIBCRYPTOCOMPAT_TIME_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
struct tm *__gmtime_r(const time_t * t, struct tm * tm);
|
struct tm *__gmtime_r(const time_t * t, struct tm * tm);
|
||||||
#define gmtime_r(tp, tm) __gmtime_r(tp, tm)
|
#define gmtime_r(tp, tm) __gmtime_r(tp, tm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user