From eb5a1b333946ce4ac8a4ead835cba8bdcf602a87 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 8 Mar 2024 10:23:26 +0100 Subject: [PATCH] Fix MinGW build The commit 028739df caused a regression by breaking MinGW builds because the line '#if defined(__MINGW32__)' has been removed. As a result the 'if defined (FC_OS_WIN64) || defined (FC_OS_WIN32)' has become active where the types '__int64' or 'unsigned __int64' that are not defined for MinGW --- src/FCConfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FCConfig.h b/src/FCConfig.h index 27cecb2d6b9d..294d16ad4cf6 100644 --- a/src/FCConfig.h +++ b/src/FCConfig.h @@ -93,7 +93,9 @@ //************************************************************************** // Standard types for Windows -#if defined (FC_OS_WIN64) || defined (FC_OS_WIN32) +#if defined(__MINGW32__) +// Do not remove this line! +#elif defined (FC_OS_WIN64) || defined (FC_OS_WIN32) #ifndef HAVE_INT8_T #define HAVE_INT8_T