mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1153909 - Use two-argument wcstok variant on mingw. r=jimm
This commit is contained in:
parent
0ed539039d
commit
04d25206c2
@ -116,7 +116,7 @@ TranslateVersionStr(const WCHAR* szVersion, verBlock *vbVersion)
|
||||
szJavaBuild[0] = '.';
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#if (defined(_MSC_VER) && _MSC_VER < 1900) || defined(__MINGW32__)
|
||||
// MSVC 2013 and earlier provided only a non-standard two-argument variant of
|
||||
// wcstok that is generally not thread-safe. For our purposes here, it works
|
||||
// fine, though.
|
||||
|
Loading…
Reference in New Issue
Block a user