• Show log

    Commit

  • Hash : 99789c71
    Author : Sam Lantinga
    Date : 2013-09-28T10:30:51

    Fixed bug 1820 - building SDL as a static library with static runtime doesn't compile/link with visual studio
    
    norfanin
    
    Adds a condition so only the MSVC 2012 compiler defines the macros for the functions of its version.
    
    Attaching a patch that adds a condition so that the HAVE_X supported by MSVC 2012 only get defined with that compiler. MSVC 2008 and 2010 will then build without any modification to the SDL source code.
    
    Also moved HAVE_M_PI to a separate check. The Microsoft headers require _USE_MATH_DEFINES to be defined before they define the constants.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags