Commit 7b2517df authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Make corecrt_wtime.h compatible with ucrt.

parent 61526f80
......@@ -20,7 +20,7 @@ struct tm {
int tm_isdst;
};
#ifdef _USE_32BIT_TIME_T
#if defined(_USE_32BIT_TIME_T) && !defined(_UCRT)
#define _wctime32 _wctime
#endif
......@@ -39,6 +39,8 @@ errno_t __cdecl _wstrtime_s(wchar_t*,size_t);
#ifndef _USE_32BIT_TIME_T
static inline wchar_t* _wctime(const time_t *t) { return _wctime64(t); }
#elif defined(_UCRT)
static inline wchar_t* _wctime(const time_t *t) { return _wctime32(t); }
#endif
#ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment