mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-07 15:59:32 +03:00
fix win32 compilation
This commit is contained in:
parent
e55ae0aeb7
commit
46e9e7fdd0
1 changed files with 2 additions and 2 deletions
|
@ -659,7 +659,7 @@ static void NTAPI mi_win_main(PVOID module, DWORD reason, LPVOID reserved) {
|
|||
#pragma comment(linker, "/INCLUDE:__tls_used")
|
||||
#pragma comment(linker, "/INCLUDE:__mi_tls_callback")
|
||||
#pragma data_seg(".CRT$XLB")
|
||||
const PIMAGE_TLS_CALLBACK _mi_tls_callback[] = { &mi_win_main };
|
||||
PIMAGE_TLS_CALLBACK _mi_tls_callback[] = { &mi_win_main };
|
||||
#pragma data_seg()
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue