mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +00:00
[11283] Drop the no longer used Visual Leak Detector (VLD)
For leak detection you can also use tools like Valgrind. If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h. The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld
This commit is contained in:
parent
0bc4bc1d75
commit
d9374d936f
13 changed files with 1 additions and 226 deletions
|
|
@ -62,9 +62,6 @@
|
|||
#endif // __SHOW_STUPID_WARNINGS__
|
||||
#endif // __GNUC__
|
||||
|
||||
// must be the first thing to include for it to work
|
||||
#include "MemoryLeaks.h"
|
||||
|
||||
#include "Utilities/UnorderedMapSet.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -109,11 +106,7 @@ typedef off_t ACE_OFF_T;
|
|||
# define FD_SETSIZE 4096
|
||||
# endif
|
||||
# include <ace/config-all.h>
|
||||
// XP winver - needed to compile with standard leak check in MemoryLeaks.h
|
||||
// uncomment later if needed
|
||||
//#define _WIN32_WINNT 0x0501
|
||||
# include <ws2tcpip.h>
|
||||
//#undef WIN32_WINNT
|
||||
#else
|
||||
# include <sys/types.h>
|
||||
# include <sys/ioctl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue