mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-26 05:25:34 +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.