mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:46:38 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
59
sdk/lib/crt/time/bitsfixup.h
Normal file
59
sdk/lib/crt/time/bitsfixup.h
Normal file
|
@ -0,0 +1,59 @@
|
|||
/*
|
||||
* COPYRIGHT: LGPL, See LGPL.txt in the top level directory
|
||||
* PROJECT: ReactOS CRT library
|
||||
* FILE: lib/sdk/crt/time/bitsfixup.h
|
||||
* PURPOSE: definitions for different time_t versions
|
||||
* PROGRAMERS: Timo Kreuzer
|
||||
*/
|
||||
|
||||
#if defined(_USE_EXPLICIT_32BIT_TIME) || defined(_USE_EXPLICIT_64BIT_TIME)
|
||||
#undef _timeb
|
||||
#undef _ftime
|
||||
#undef _tctime
|
||||
#undef _tctime_s
|
||||
#undef _tutime
|
||||
#else
|
||||
#define _time time
|
||||
#endif
|
||||
|
||||
#undef _ftime_s
|
||||
|
||||
#ifdef _USE_EXPLICIT_32BIT_TIME
|
||||
#define time_t __time32_t
|
||||
#define _timeb __timeb32
|
||||
#define _utimbuf __utimbuf32
|
||||
|
||||
#define difftime _difftime32
|
||||
#define localtime _localtime32
|
||||
#define localtime_s _localtime32_s
|
||||
#define _time _time32
|
||||
|
||||
#define _ftime _ftime32
|
||||
#define _ftime_s _ftime32_s
|
||||
#define _futime _futime32
|
||||
#define _tctime _tctime32
|
||||
#define _tctime_s _tctime32_s
|
||||
#define _tutime _tutime32
|
||||
#define gmtime _gmtime32
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _USE_EXPLICIT_64BIT_TIME
|
||||
#define time_t __time64_t
|
||||
#define _timeb __timeb64
|
||||
#define _utimbuf __utimbuf64
|
||||
|
||||
#define difftime _difftime64
|
||||
#define localtime _localtime64
|
||||
#define localtime_s _localtime64_s
|
||||
#define _time _time64
|
||||
|
||||
#define _ftime _ftime64
|
||||
#define _ftime_s _ftime64_s
|
||||
#define _futime _futime64
|
||||
#define _tctime _tctime64
|
||||
#define _tctime_s _tctime64_s
|
||||
#define _tutime _tutime64
|
||||
#define gmtime _gmtime64
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue