mingw: Document mode wbx workaround

This commit is contained in:
MarcoFalke
2024-07-17 08:54:52 +02:00
parent fa359255fe
commit fa895c7283
2 changed files with 8 additions and 3 deletions

View File

@@ -30,8 +30,7 @@ BOOST_AUTO_TEST_CASE(xor_file)
}
{
#ifdef __MINGW64__
// Our usage of mingw-w64 and the msvcrt runtime does not support
// the x modifier for the _wfopen().
// Temporary workaround for https://github.com/bitcoin/bitcoin/issues/30210
const char* mode = "wb";
#else
const char* mode = "wbx";