Unified · Split
| @@ -52,6 +52,7 @@ · 51 unmodified lines | ||
| 52 | 52 | #define _CRT_WIDE(_String) __CRT_WIDE(_String) |
| 53 | 53 | |
| 54 | 54 | #ifdef _WIN64 |
| 55 | + | |
| 55 | 56 | typedef __int64 intptr_t; |
| 56 | 57 | typedef unsigned __int64 uintptr_t; |
| 57 | 58 | #define __stdcall |
| @@ -59,12 +60,15 @@ typedef unsigned __int64 uintptr_t; · 1 unmodified line | ||
| 59 | 60 | #define __x86_64 1 |
| 60 | 61 | #define USE_MINGW_SETJMP_TWO_ARGS |
| 61 | 62 | #define mingw_getsp tinyc_getbp |
| 63 | + | |
| 62 | 64 | #else |
| 65 | + | |
| 63 | 66 | typedef __int32 intptr_t; |
| 64 | 67 | typedef unsigned __int32 uintptr_t; |
| 65 | 68 | #define __stdcall __attribute__((__stdcall__)) |
| 66 | 69 | #define _X86_ 1 |
| 67 | 70 | #define WIN32 1 |
| 71 | + | |
| 68 | 72 | #endif |
| 69 | 73 | |
| 70 | 74 | #define _INTEGRAL_MAX_BITS 64 |
| @@ -75,6 +79,11 @@ typedef long __time32_t; · 4 unmodified lines | ||
| 75 | 79 | typedef __int64 __time64_t; |
| 76 | 80 | #define _TIME64_T_DEFINED |
| 77 | 81 | |
| 82 | +typedef unsigned long size_t; | |
| 83 | +#define _SIZE_T_DEFINED | |
| 84 | +typedef long ssize_t; | |
| 85 | +#define _SSIZE_T_DEFINED | |
| 86 | + | |
| 78 | 87 | #ifdef _USE_32BIT_TIME_T |
| 79 | 88 | #ifdef _WIN64 |
| 80 | 89 | #error You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64 |