forked from alterware/iw6-mod
init
This commit is contained in:
7
src/tlsdll/dllmain.cpp
Normal file
7
src/tlsdll/dllmain.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#define TLS_PAYLOAD_SIZE 0x2000
|
||||
thread_local char tls_data[TLS_PAYLOAD_SIZE];
|
||||
|
||||
__declspec(dllexport) void* get_tls_data()
|
||||
{
|
||||
return &tls_data[0];
|
||||
}
|
Reference in New Issue
Block a user