From: James Touton Date: Fri, 5 Mar 2021 02:43:29 +0000 (-0800) Subject: Check for _WIN32 instead of WIN32. X-Git-Tag: v1.10.0-rc1^0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56b1a197b265bc13b8fb8c6df85556185b188f9b;p=libvpx Check for _WIN32 instead of WIN32. _WIN32 is predefined for the Windows platform in MSVC, whereas WIN32 is not, and WIN32 is also not defined in the makefiles. Change-Id: I8b58e42d891608dbe1e1313dc9629c2be588d9ec --- diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c index 561922de3..491e2ce4c 100644 --- a/vp8/decoder/threading.c +++ b/vp8/decoder/threading.c @@ -10,7 +10,7 @@ #include "vpx_config.h" #include "vp8_rtcd.h" -#if !defined(WIN32) && CONFIG_OS_SUPPORT == 1 +#if !defined(_WIN32) && CONFIG_OS_SUPPORT == 1 #include #endif #include "onyxd_int.h"