include: Define all the __int* types also for msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-14 14:05:33 +02:00
parent 19d5734e20
commit 9ae627316d
1 changed files with 17 additions and 6 deletions

View File

@ -51,12 +51,23 @@
#include <sal.h>
#if !defined(_MSC_VER) && !defined(__int64)
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
# endif
#ifndef _MSC_VER
# ifndef __int8
# define __int8 char
# endif
# ifndef __int16
# define __int16 short
# endif
# ifndef __int32
# define __int32 int
# endif
# ifndef __int64
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
# else
# define __int64 long long
# endif
# endif
#endif
#ifndef NULL