Skip to content

Commit afff4a7

Browse files
committed
MinGW GCC defines __int64 for Visual-Studio compatibility
1 parent e2afe93 commit afff4a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util/config.cpp

+3
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)