This might possibly fix the XP build

This commit is contained in:
kaetemi 2019-05-26 17:22:10 +08:00
parent 39eb30b64f
commit 08ac7175dc

View file

@ -20,8 +20,11 @@
#if defined(_MSC_VER) && defined(_DEBUG) #if defined(_MSC_VER) && defined(_DEBUG)
#define _CRTDBG_MAP_ALLOC #define _CRTDBG_MAP_ALLOC
#include <stdlib.h> #include <stdlib.h>
#include <malloc.h>
#include <crtdbg.h> #include <crtdbg.h>
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#elif defined(_MSC_VER)
#include <malloc.h>
#endif #endif
#include <algorithm> #include <algorithm>