Skip to content

Commit 7b91a02

Browse files
committed
MinGW GCC defines __int64 for Visual-Studio compatibility
1 parent dab1510 commit 7b91a02

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
@@ -1159,6 +1159,9 @@ bool configt::set(const cmdlinet &cmdline)
11591159
#ifdef _WIN32
11601160
ansi_c.defines.push_back("__CYGWIN__");
11611161
#endif
1162+
1163+
// MinGW has extra defines
1164+
ansi_c.defines.push_back("__int64=\"long long\"");
11621165
}
11631166
else
11641167
{

0 commit comments

Comments
 (0)