1 /***
2 *wtime.inl - inline definitions for wctime()
3 *
4 *           Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 *           This file contains the definition of wctime().
8 *
9 *           [Public]
10 *
11 ****/
12
13 #if        _MSC_VER > 1000
14 #pragma once
15 #endif
16
17 #if !defined(__CRTDECL)
18 #if defined(_M_CEE_PURE)
19 #define __CRTDECL
20 #else
21 #define __CRTDECL     __cdecl
22 #endif
23 #endif
24
25 #ifndef _INC_WTIME_INL
26 #define _INC_WTIME_INL
27 #ifndef RC_INVOKED
28
29 #pragma warning(push)
30 #pragma warning(disable:4996)
31
32 #ifdef _USE_32BIT_TIME_T
33 static __inline wchar_t * __CRTDECL _wctime(const time_t * _Time)
34 {
35 #pragma warning( push )
36 #pragma warning( disable : 4996 )
37       return _wctime32(_Time);
38 #pragma warning( pop )
39 }
40
41 static __inline errno_t __CRTDECL _wctime_s(wchar_t *_Buffer, size_t _SizeInWords, const time_t * _Time)
42 {
43       return _wctime32_s(_Buffer, _SizeInWords, _Time);
Lines 44 ... 53 are skipped.
54 static __inline errno_t __CRTDECL _wctime_s(wchar_t *_Buffer, size_t _SizeInWords, const time_t * _Time)
55 {
56       return _wctime64_s(_Buffer, _SizeInWords, _Time);
57 }
58 #endif /* _USE_32BIT_TIME_T */
59
60 #pragma warning(pop)
61
62 #endif /* RC_INVOKED */
63 #endif /* _INC_WTIME_INL */
64