From 4285d844062bca47edf9536224b6f2595454e401 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Wed, 11 Sep 2013 09:30:35 -0600 Subject: [PATCH] fix windows.cpp compile for newer versions of mingw --- src/vm/system/windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/system/windows.cpp b/src/vm/system/windows.cpp index c611f6930d..8a9c5cc24b 100644 --- a/src/vm/system/windows.cpp +++ b/src/vm/system/windows.cpp @@ -44,7 +44,7 @@ #endif -#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE) +#if defined(WINAPI_PARTITION_PHONE) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE) // Headers in Windows Phone 8 DevKit contain severe error, so let's define needed functions on our own extern "C" {