mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 07:29:30 +03:00
do not export DllEntry on windows
This commit is contained in:
parent
d52e4039b6
commit
1e0cd575a5
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ static void mi_patches_at_quick_exit(void) {
|
||||||
mi_patches_enable_term(); // enter termination phase and patch realloc/free with a no-op
|
mi_patches_enable_term(); // enter termination phase and patch realloc/free with a no-op
|
||||||
}
|
}
|
||||||
|
|
||||||
__declspec(dllexport) BOOL WINAPI DllEntry(HINSTANCE inst, DWORD reason, LPVOID reserved) {
|
BOOL WINAPI DllEntry(HINSTANCE inst, DWORD reason, LPVOID reserved) {
|
||||||
if (reason == DLL_PROCESS_ATTACH) {
|
if (reason == DLL_PROCESS_ATTACH) {
|
||||||
__security_init_cookie();
|
__security_init_cookie();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue