Bug 1364560 Fix detection of Windows in Skia for MinGW build r=lsalzman

Windows detection was broken for the MinGW build. This pulls
in the upstream patch from
https://bugs.chromium.org/p/skia/issues/detail?id=6635

MozReview-Commit-ID: D0ZRIDaPmim

--HG--
extra : rebase_source : d20b6bd4bb1b2a93996775d36fe1c8484d0b0f85
This commit is contained in:
Tom Ritter 2017-09-22 01:19:27 -05:00
parent 6499172d8e
commit fd8f66ae19

View File

@ -13,7 +13,7 @@
#include "SkTArray.h"
#include "SkThreadUtils.h"
#if defined(_MSC_VER)
#if defined(SK_BUILD_FOR_WIN32)
#include <windows.h>
static int num_cores() {
SYSTEM_INFO sysinfo;