From c9fe8fe4704cf00dcfb298c38f21bf231ccb253f Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Sat, 2 Jan 2021 05:58:46 +0100 Subject: [PATCH] Yet another int64_t/uint64_t definition fix. For wine this time. --- include/stddef.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/stddef.h b/include/stddef.h index 64946195..4283b238 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -20,9 +20,10 @@ typedef signed int int32_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; -#if defined(__LP64__) \ - && !defined(__FreeBSD__) \ - && !(defined(__NetBSD__) && defined(__aarch64__)) +#if defined(_WIN32) \ + || (defined(__LP64__) \ + && !defined(__FreeBSD__) \ + && !(defined(__NetBSD__) && defined(__aarch64__))) typedef signed __INT64_TYPE__ int64_t; typedef unsigned __INT64_TYPE__ uint64_t; #endif