The MinGW.org Windows System Libraries
Revision | c2693c327b019dde40d2331c330ec7a1de20a2b6 (tree) |
---|---|
Time | 2013-06-08 07:47:09 |
Author | Jan Nitjmans <nijtmans@user...> |
Commiter | Earnie Boyd |
include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for _CRTALIAS of _wctime.
@@ -1,3 +1,8 @@ | ||
1 | +2013-06-07 Jan Nijtmans <nijtmans@users.sourceforge.net> | |
2 | + | |
3 | + * include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for | |
4 | + _CRTALIAS of _wctime. | |
5 | + | |
1 | 6 | 2013-06-05 Mark <mabrand@users.sourceforge.net> |
2 | 7 | |
3 | 8 | * include/shlobj.h (SHGetFolderPath): Correct typo for UNICODE define. |
@@ -247,21 +247,27 @@ __MINGW_IMPORT char *tzname[2]; | ||
247 | 247 | _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wasctime(const struct tm*); |
248 | 248 | _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wstrdate(wchar_t*); |
249 | 249 | _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wstrtime(wchar_t*); |
250 | -_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime(const time_t*); | |
251 | -_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime64 (const __time64_t*); | |
252 | -#ifdef MSVCRT_VERSION >= 800 | |
253 | -_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime32 (const __time32_t*); | |
250 | +_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime64(const __time64_t*); | |
251 | +#if MSVCRT_VERSION >= 800 | |
252 | +_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime32(const __time32_t*); | |
254 | 253 | #else |
255 | -_CRTALIAS whcar_t* __cdecl __MINGW_NOTHROW _wctime32 (const __time32_t* _v) { | |
254 | +_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime(const time_t*); | |
255 | +_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime32(const __time32_t* _v) { | |
256 | 256 | return(_wctime((time_t)_v)); |
257 | 257 | } |
258 | 258 | #endif /* MSVCRT_VERSION >= 800 */ |
259 | 259 | |
260 | 260 | #ifdef _USE_32BIT_TIME_T |
261 | -_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { return(_wctime32 (_v)); } | |
262 | -#else | |
263 | -_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { return(_wctime64 (_v)); } | |
261 | +#if MSVCRT_VERSION >= 800 | |
262 | +_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { | |
263 | + return(_wctime32 (_v)); | |
264 | +} | |
264 | 265 | #endif |
266 | +#else /* ndef _USE_32BIT_TIME_T */ | |
267 | +_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { | |
268 | + return(_wctime64 (_v)); | |
269 | +} | |
270 | +#endif /* def _USE_32BIT_TIME_T */ | |
265 | 271 | |
266 | 272 | #endif /* __STRICT_ANSI__ */ |
267 | 273 |