mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Remove __USE_W32API support.
- Add definition of _ttoi64. svn path=/trunk/; revision=12842
This commit is contained in:
parent
647e34dd0c
commit
f8b923d236
1 changed files with 2 additions and 8 deletions
|
@ -38,12 +38,6 @@
|
||||||
#ifndef _ROS_TCHAR_H_
|
#ifndef _ROS_TCHAR_H_
|
||||||
#define _ROS_TCHAR_H_
|
#define _ROS_TCHAR_H_
|
||||||
|
|
||||||
#ifdef __USE_W32API
|
|
||||||
|
|
||||||
#include_next <tchar.h>
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#include <msvcrt/string.h>
|
#include <msvcrt/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -154,6 +148,7 @@ typedef wchar_t TCHAR;
|
||||||
#define _totupper towupper
|
#define _totupper towupper
|
||||||
#define _totlower towlower
|
#define _totlower towlower
|
||||||
#define _ttoi _wtoi
|
#define _ttoi _wtoi
|
||||||
|
#define _ttoi64 _wtoi64
|
||||||
#define _tcsftime wcsftime
|
#define _tcsftime wcsftime
|
||||||
#define _tsplitpath _wsplitpath
|
#define _tsplitpath _wsplitpath
|
||||||
#define _tmakepath _wmakepath
|
#define _tmakepath _wmakepath
|
||||||
|
@ -262,6 +257,7 @@ typedef char TCHAR;
|
||||||
#define _totupper toupper
|
#define _totupper toupper
|
||||||
#define _totlower tolower
|
#define _totlower tolower
|
||||||
#define _ttoi atoi
|
#define _ttoi atoi
|
||||||
|
#define _ttoi64 _atoi64
|
||||||
#define _tcsftime strftime
|
#define _tcsftime strftime
|
||||||
#define _tsplitpath _splitpath
|
#define _tsplitpath _splitpath
|
||||||
#define _tmakepath _makepath
|
#define _tmakepath _makepath
|
||||||
|
@ -269,6 +265,4 @@ typedef char TCHAR;
|
||||||
|
|
||||||
#endif /* Not _UNICODE */
|
#endif /* Not _UNICODE */
|
||||||
|
|
||||||
#endif /* Not __USE_W32API */
|
|
||||||
|
|
||||||
#endif /* Not _TCHAR_H_ */
|
#endif /* Not _TCHAR_H_ */
|
||||||
|
|
Loading…
Reference in a new issue