mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
add localtime_s prototype here, as it's not part of official headers
svn path=/branches/ros-amd64-bringup/; revision=39317
This commit is contained in:
parent
70e9bdcc15
commit
d12be4b77d
1 changed files with 4 additions and 0 deletions
|
@ -8,11 +8,15 @@
|
||||||
#define MINGW_HAS_SECURE_API 1
|
#define MINGW_HAS_SECURE_API 1
|
||||||
|
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
#define __STDC_WANT_SECURE_LIB__
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "bitsfixup.h"
|
#include "bitsfixup.h"
|
||||||
|
|
||||||
#define EINVAL -1
|
#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
|
* \name _tctime_s
|
||||||
* \brief Converts a time_t value into a string.
|
* \brief Converts a time_t value into a string.
|
||||||
|
|
Loading…
Reference in a new issue