mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 12:53:14 +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"
|
#include "regedit.h"
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
#include <crtdbg.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
BOOL ProcessCmdLine(WCHAR *cmdline);
|
BOOL ProcessCmdLine(WCHAR *cmdline);
|
||||||
|
|
||||||
const WCHAR *reg_class_namesW[] = {L"HKEY_LOCAL_MACHINE", L"HKEY_USERS",
|
const WCHAR *reg_class_namesW[] = {L"HKEY_LOCAL_MACHINE", L"HKEY_USERS",
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
#include <aclapi.h>
|
#include <aclapi.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define _CRTDBG_MAP_ALLOC
|
||||||
|
#include <crtdbg.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "hexedit.h"
|
#include "hexedit.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue