mirror of
https://github.com/yawut/SDL.git
synced 2026-11-02 03:03:00 -06:00
This is done such that we can disable LTO for these 2 functions when building with MSVC. This is due to a limitation of Link Time Code Generation (LTCG). Code generation might generate a new reference to memset after linking has started. The LTCG must make assumptions about where memset is defined which is normally the C runtime.