mirror of
https://github.com/encounter/SDL.git
synced 2025-05-18 05:11:38 +00: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.