[x265] MinGW: 64-bits vs. XP compatibility

Steve Borho steve at borho.org
Mon Mar 31 23:03:21 CEST 2014


On Mon, Mar 31, 2014 at 2:54 AM, JMK <three4teen16 at coldmail.nu> wrote:
> A humble suggestion -- for the file "source\CMakeLists.txt":
>
> # *************************
> if(WIN32)
>   option(WINXP_SUPPORT "Make binaries compatible with Windows XP" OFF)
>     if(MINGW)
>       if(X64)
>         add_definitions(-D_WIN32_WINNT=_WIN32_WINNT_VISTA)
>       endif(X64)
>     endif(MINGW)
>   if(WINXP_SUPPORT)
>     add_definitions(-D_WIN32_WINNT=_WIN32_WINNT_WINXP)
>   endif()
> endif()
> # *************************

Why do you want to force Vista as the target for Win64?

-- 
Steve Borho


More information about the x265-devel mailing list