From d12be4b77da3b5f78dd2f7673fa6cdb548f4742c Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 3 Feb 2009 13:00:31 +0000 Subject: [PATCH] add localtime_s prototype here, as it's not part of official headers svn path=/branches/ros-amd64-bringup/; revision=39317 --- reactos/lib/sdk/crt/time_new/ctime.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/lib/sdk/crt/time_new/ctime.c b/reactos/lib/sdk/crt/time_new/ctime.c index 0a4ff152fbc..3502b06fa6d 100644 --- a/reactos/lib/sdk/crt/time_new/ctime.c +++ b/reactos/lib/sdk/crt/time_new/ctime.c @@ -8,11 +8,15 @@ #define MINGW_HAS_SECURE_API 1 #include +#define __STDC_WANT_SECURE_LIB__ #include #include "bitsfixup.h" #define EINVAL -1 +/* Doesn't really exist, but we need it here */ +_CRTIMP errno_t __cdecl localtime_s(struct tm *_Tm,const time_t *_Time); + /****************************************************************************** * \name _tctime_s * \brief Converts a time_t value into a string.