mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 09:08:31 +00:00
[WINE/MSVCRT] Fix MSVCRT_size_t, MSVCRT_intptr_t and MSVCRT_uintptr_t typedefs (#6464)
Make these definitions compatible with the other ambient size_t and
(u)intptr_t types used in the rest of our code base.
This partly reverts the corresponding typedef changes from wine commit
d8ab5a14aa
"msvcrt: Use intptr_t or size_t instead of long where appropriate."
This commit is contained in:
parent
51b55982e4
commit
ab7fbd08a7
2 changed files with 6 additions and 6 deletions
|
@ -64,9 +64,9 @@ typedef unsigned __int64 MSVCRT_size_t;
|
||||||
typedef __int64 MSVCRT_intptr_t;
|
typedef __int64 MSVCRT_intptr_t;
|
||||||
typedef unsigned __int64 MSVCRT_uintptr_t;
|
typedef unsigned __int64 MSVCRT_uintptr_t;
|
||||||
#else
|
#else
|
||||||
typedef unsigned long MSVCRT_size_t;
|
typedef unsigned int MSVCRT_size_t;
|
||||||
typedef long MSVCRT_intptr_t;
|
typedef int MSVCRT_intptr_t;
|
||||||
typedef unsigned long MSVCRT_uintptr_t;
|
typedef unsigned int MSVCRT_uintptr_t;
|
||||||
#endif
|
#endif
|
||||||
typedef unsigned int MSVCRT__dev_t;
|
typedef unsigned int MSVCRT__dev_t;
|
||||||
typedef int MSVCRT__off_t;
|
typedef int MSVCRT__off_t;
|
||||||
|
|
|
@ -80,9 +80,9 @@ typedef unsigned __int64 MSVCRT_size_t;
|
||||||
typedef __int64 MSVCRT_intptr_t;
|
typedef __int64 MSVCRT_intptr_t;
|
||||||
typedef unsigned __int64 MSVCRT_uintptr_t;
|
typedef unsigned __int64 MSVCRT_uintptr_t;
|
||||||
#else
|
#else
|
||||||
typedef unsigned long MSVCRT_size_t;
|
typedef unsigned int MSVCRT_size_t;
|
||||||
typedef long MSVCRT_intptr_t;
|
typedef int MSVCRT_intptr_t;
|
||||||
typedef unsigned long MSVCRT_uintptr_t;
|
typedef unsigned int MSVCRT_uintptr_t;
|
||||||
#endif
|
#endif
|
||||||
#ifdef _CRTDLL
|
#ifdef _CRTDLL
|
||||||
typedef short MSVCRT__dev_t;
|
typedef short MSVCRT__dev_t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue