[x265] [PATCH] fix build error on VS2008 + WinXP
Tim Walker
tdskywalker at gmail.com
Thu Apr 10 19:01:00 CEST 2014
On 10 Apr 2014, at 11:38, Min Chen <chenm003 at 163.com> wrote:
> # HG changeset patch
> # User Min Chen <chenm003 at 163.com>
> # Date 1397122677 -28800
> # Node ID 88365d9b50a56ff468b54b4d42f18d5644a9f79f
> # Parent 83ccf2f1453ffd91c9fd8b84b72e3d3daacba6c6
> fix build error on VS2008 + WinXP
>
> diff -r 83ccf2f1453f -r 88365d9b50a5 source/common/winxp.cpp
> --- a/source/common/winxp.cpp Thu Apr 10 11:17:46 2014 +0530
> +++ b/source/common/winxp.cpp Thu Apr 10 17:37:57 2014 +0800
> @@ -23,7 +23,7 @@
>
> #include "threading.h"
>
> -#if defined(_WIN32) && (_WIN32_WINNT <_WIN32_WINNT_VISTA)
> +#if defined(_WIN32) && (_WIN32_WINNT <= _WIN32_WINNT_WINXP)
IIRC, this check was changed to < VISTA (was <= XP before) on purpose, this will likely break something else.
Tim
More information about the x265-devel
mailing list