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

JMK three4teen16 at coldmail.nu
Mon Mar 31 09:54:55 CEST 2014


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()
# *************************

_____________________________________________________________
ps. Do you like my email address? Get yourself a coldmail.nu address too
http://www.coldmail.nu (it's free!)


More information about the x265-devel mailing list