Changeset 9631 for trunk/include/win/msvcrt/time.h
- Timestamp:
- Jan 6, 2003, 2:24:23 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/msvcrt/time.h
r8207 r9631 22 22 #define __WINE_USE_MSVCRT 23 23 24 #include "winnt.h" 25 #include "msvcrt/sys/types.h" /* For time_t */ 24 #ifndef MSVCRT 25 # ifdef USE_MSVCRT_PREFIX 26 # define MSVCRT(x) MSVCRT_##x 27 # else 28 # define MSVCRT(x) x 29 # endif 30 #endif 26 31 32 #ifndef MSVCRT_WCHAR_T_DEFINED 33 #define MSVCRT_WCHAR_T_DEFINED 34 #ifndef __cplusplus 35 typedef unsigned short MSVCRT(wchar_t); 36 #endif 37 #endif 27 38 28 39 #ifndef MSVCRT_SIZE_T_DEFINED … … 31 42 #endif 32 43 44 #ifndef MSVCRT_TIME_T_DEFINED 45 typedef long MSVCRT(time_t); 46 #define MSVCRT_TIME_T_DEFINED 47 #endif 48 49 #ifndef MSVCRT_CLOCK_T_DEFINED 33 50 typedef long MSVCRT(clock_t); 51 #define MSVCRT_CLOCK_T_DEFINED 52 #endif 34 53 54 #ifndef NULL 55 #ifdef __cplusplus 56 #define NULL 0 57 #else 58 #define NULL ((void *)0) 59 #endif 60 #endif 61 62 #ifndef MSVCRT_TM_DEFINED 63 #define MSVCRT_TM_DEFINED 35 64 struct MSVCRT(tm) { 36 65 int tm_sec; … … 44 73 int tm_isdst; 45 74 }; 46 75 #endif /* MSVCRT_TM_DEFINED */ 47 76 48 77 #ifdef __cplusplus … … 69 98 MSVCRT(time_t) MSVCRT(time)(MSVCRT(time_t)*); 70 99 71 WCHAR* _wasctime(const struct MSVCRT(tm)*); 72 MSVCRT(size_t) wcsftime(WCHAR*,MSVCRT(size_t),const WCHAR*,const struct MSVCRT(tm)*); 73 WCHAR* _wctime(const MSVCRT(time_t)*); 74 WCHAR* _wstrdate(WCHAR*); 75 WCHAR* _wstrtime(WCHAR*); 100 #ifndef MSVCRT_WTIME_DEFINED 101 #define MSVCRT_WTIME_DEFINED 102 MSVCRT(wchar_t)*_wasctime(const struct MSVCRT(tm)*); 103 MSVCRT(size_t) wcsftime(MSVCRT(wchar_t)*,MSVCRT(size_t),const MSVCRT(wchar_t)*,const struct MSVCRT(tm)*); 104 MSVCRT(wchar_t)*_wctime(const MSVCRT(time_t)*); 105 MSVCRT(wchar_t)*_wstrdate(MSVCRT(wchar_t)*); 106 MSVCRT(wchar_t)*_wstrtime(MSVCRT(wchar_t)*); 107 #endif /* MSVCRT_WTIME_DEFINED */ 76 108 77 109 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.