mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 17:13:35 +03:00
Stringify tls_callback linker directive
Proposed fix for #1444 - ensure that `tls_callback` in the `#pragma comment(linker)`directive gets the same prefix added as it does i the C declaration.
This commit is contained in:
parent
18450d0abe
commit
cbdb1807ce
1 changed files with 1 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ _tls_callback(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
|
||||||
# pragma comment(linker, "/INCLUDE:_tls_callback")
|
# pragma comment(linker, "/INCLUDE:_tls_callback")
|
||||||
# else
|
# else
|
||||||
# pragma comment(linker, "/INCLUDE:_tls_used")
|
# pragma comment(linker, "/INCLUDE:_tls_used")
|
||||||
# pragma comment(linker, "/INCLUDE:tls_callback")
|
# pragma comment(linker, "/INCLUDE:" STRINGIFY(tls_callback) )
|
||||||
# endif
|
# endif
|
||||||
# pragma section(".CRT$XLY",long,read)
|
# pragma section(".CRT$XLY",long,read)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue