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:
Timo Kreuzer 2009-02-03 13:00:31 +00:00
parent 70e9bdcc15
commit d12be4b77d

View file

@ -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.