mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
This commit is contained in:
parent
a28e798006
commit
c424146e2c
20602 changed files with 0 additions and 1140137 deletions
58
lib/sdk/crt/time/bitsfixup.h
Normal file
58
lib/sdk/crt/time/bitsfixup.h
Normal file
|
@ -0,0 +1,58 @@
|
|||
/*
|
||||
* 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_EXPLITIT_32BIT_TIME) || defined(_USE_EXPLITIT_64BIT_TIME)
|
||||
#undef _timeb
|
||||
#undef _ftime
|
||||
#undef _tctime
|
||||
#undef _ftime_s
|
||||
#undef _tctime_s
|
||||
#undef _tutime
|
||||
#else
|
||||
#define _time time
|
||||
#endif
|
||||
|
||||
#ifdef _USE_EXPLITIT_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_EXPLITIT_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