[NOTEPAD] Move '#include <crtdbg.h>' and add _CRTDBG_MAP_ALLOC (#5176)

CORE-18837
This commit is contained in:
Katayama Hirofumi MZ 2023-03-20 22:55:12 +09:00 committed by GitHub
parent 94f22bda27
commit cc4480ffea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -14,10 +14,6 @@
#include <shlobj.h>
#include <strsafe.h>
#ifdef _DEBUG
#include <crtdbg.h>
#endif
NOTEPAD_GLOBALS Globals;
static ATOM aFINDMSGSTRING;

View file

@ -23,7 +23,12 @@
#include <shellapi.h>
#include <commdlg.h>
#include <tchar.h>
#include <stdlib.h>
#include <malloc.h>
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#include "dialog.h"
#include "notepad_res.h"