• Sam Lantinga's avatar
    Fixed Visual C++ release build for Visual C++ 2005 · e32916c7
    Sam Lantinga authored
    * Some math functions become intrinsic in release mode, so we need to
      convert all the math functions into SDL math functions, like we did
      with the stdlib functions.
    * Constant initializers of 8-bit values become calls to memset() in
      release mode, but memset() itself is an intrinsic when explicitly
      called.  So we'll just explicitly call memset() in those cases.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403474
    e32916c7
math.h 1.78 KB