Bug 1153909 - Use two-argument wcstok variant on mingw. r=jimm
This commit is contained in:
@@ -116,7 +116,7 @@ TranslateVersionStr(const WCHAR* szVersion, verBlock *vbVersion)
|
|||||||
szJavaBuild[0] = '.';
|
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
|
// 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
|
// wcstok that is generally not thread-safe. For our purposes here, it works
|
||||||
// fine, though.
|
// fine, though.
|
||||||
|
|||||||
Reference in New Issue
Block a user