Author: tkreuzer Date: Tue Feb 3 07:00:31 2009 New Revision: 39317
URL: http://svn.reactos.org/svn/reactos?rev=39317&view=rev Log: add localtime_s prototype here, as it's not part of official headers
Modified: branches/ros-amd64-bringup/reactos/lib/sdk/crt/time_new/ctime.c
Modified: branches/ros-amd64-bringup/reactos/lib/sdk/crt/time_new/ctime.c URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/sd... ============================================================================== --- branches/ros-amd64-bringup/reactos/lib/sdk/crt/time_new/ctime.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/lib/sdk/crt/time_new/ctime.c [iso-8859-1] Tue Feb 3 07:00:31 2009 @@ -8,10 +8,14 @@ #define MINGW_HAS_SECURE_API 1
#include <tchar.h> +#define __STDC_WANT_SECURE_LIB__ #include <time.h> #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