Skip to content

Commit 3433dc6

Browse files
authored
Merge pull request #885 from tautschnig/mingw-__int64
MinGW GCC defines __int64 for Visual-Studio compatibility
2 parents 1cb1fd9 + afff4a7 commit 3433dc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util/config.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,9 @@ bool configt::set(const cmdlinet &cmdline)
855855
#ifdef _WIN32
856856
ansi_c.defines.push_back("__CYGWIN__");
857857
#endif
858+
859+
// MinGW has extra defines
860+
ansi_c.defines.push_back("__int64=\"long long\"");
858861
}
859862
else
860863
{

0 commit comments

Comments
 (0)