mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[REGEDIT] Move '#include <crtdbg.h>' and add _CRTDBG_MAP_ALLOC
- Add #include <stdlib.h>. - Move #include <crtdbg.h> to "regedit.h". - Add #define _CRTDBG_MAP_ALLOC before #include <crtdbg.h>. CORE-18876
This commit is contained in:
parent
1ef98fff3b
commit
49d8c1af21
2 changed files with 5 additions and 4 deletions
|
@ -20,10 +20,6 @@
|
|||
|
||||
#include "regedit.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include <crtdbg.h>
|
||||
#endif
|
||||
|
||||
BOOL ProcessCmdLine(WCHAR *cmdline);
|
||||
|
||||
const WCHAR *reg_class_namesW[] = {L"HKEY_LOCAL_MACHINE", L"HKEY_USERS",
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
#include <aclapi.h>
|
||||
#include <shellapi.h>
|
||||
#include <strsafe.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef _DEBUG
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <crtdbg.h>
|
||||
#endif
|
||||
|
||||
#include "main.h"
|
||||
#include "hexedit.h"
|
||||
|
|
Loading…
Reference in a new issue