always allow upstream time.h to be visible

This commit is contained in:
Brent Cook 2018-03-23 15:35:58 -05:00
parent 862cd768b7
commit 31c98c2969

View File

@ -3,9 +3,6 @@
* sys/time.h compatibility shim
*/
#ifndef LIBCRYPTOCOMPAT_TIME_H
#define LIBCRYPTOCOMPAT_TIME_H
#ifdef _MSC_VER
#if _MSC_VER >= 1900
#include <../ucrt/time.h>
@ -16,6 +13,9 @@
#include_next <time.h>
#endif
#ifndef LIBCRYPTOCOMPAT_TIME_H
#define LIBCRYPTOCOMPAT_TIME_H
#ifdef _WIN32
struct tm *__gmtime_r(const time_t * t, struct tm * tm);
#define gmtime_r(tp, tm) __gmtime_r(tp, tm)