Skip to content

Commit

Permalink
Fix MinGW build
Browse files Browse the repository at this point in the history
The commit 028739d 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
  • Loading branch information
wwmayer committed Mar 8, 2024
1 parent 2e96599 commit eb5a1b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FCConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb5a1b3

Please sign in to comment.