mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
This commit is contained in:
@ -178,6 +178,10 @@ if(Bink_SDK_AVAILABLE)
|
||||
target_link_libraries(plClient ${Bink_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(USE_VLD)
|
||||
target_link_libraries(plClient ${VLD_LIBRARY})
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(plClient Rpcrt4)
|
||||
target_link_libraries(plClient Version)
|
||||
|
@ -945,6 +945,10 @@ static size_t CurlCallback(void *buffer, size_t size, size_t nmemb, void *param)
|
||||
|
||||
void StatusCallback(void *param)
|
||||
{
|
||||
#ifdef USE_VLD
|
||||
VLDEnable();
|
||||
#endif
|
||||
|
||||
HWND hwnd = (HWND)param;
|
||||
|
||||
const char *statusUrl = GetServerStatusUrl();
|
||||
|
Reference in New Issue
Block a user