microsoft / mimalloc

mimalloc is a compact general purpose allocator with excellent performance.
MIT License
10.45k stars 843 forks source link

msvc build application(support windows xp) #806

Open xiaoroushen opened 1 year ago

xiaoroushen commented 1 year ago

i am trying to use mimalloc to upgrade my games allocator, using visual studio to build .lib to embody mimalloc. to support xp user Build Environment: platform toolset v120_xp (windowsdk7.1 bind with v120_xp) there are three small problems: 1.inline need to be replace with __inline 2.snprintf need to be replace with snprintf 3.__func__ need to be replace with __FUNCTION_\ hope this can help others who want to introduce mimalloc to their application.