Bug 1153909 - Use two-argument wcstok variant on mingw. r=jimm

This commit is contained in:
Jacek Caban 2015-04-14 18:07:25 +02:00
parent 0ed539039d
commit 04d25206c2

View File

@ -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.