[x265] [PATCH] fix build error on VS2008 + WinXP

Tim Walker tdskywalker at gmail.com
Sat Apr 12 01:43:37 CEST 2014


On 12 Apr 2014, at 00:53, Min Chen <chenm003 at 163.com> wrote:

> # HG changeset patch
> # User Min Chen <chenm003 at 163.com>
> # Date 1397256800 -28800
> # Node ID 065e6599bab74c34e26ad67a9b9f6ed41516856d
> # Parent  850ebca2f7c88536753941736e447de475fe746f
> fix build error on VS2008 + WinXP
> 
> diff -r 850ebca2f7c8 -r 065e6599bab7 source/common/winxp.h
> --- a/source/common/winxp.h	Fri Apr 11 14:52:11 2014 -0500
> +++ b/source/common/winxp.h	Sat Apr 12 06:53:20 2014 +0800
> @@ -24,8 +24,16 @@
> #ifndef X265_WINXP_H
> #define X265_WINXP_H
> 
> +#ifndef _WIN32_WINNT_VISTA
> +#define _WIN32_WINNT_VISTA  0x06000000

Value looks wrong?

http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx

_WIN32_WINNT_VISTA (0x0600)

Tim


More information about the x265-devel mailing list