- Declare implemented functions inside #ifndef _DEBUG block.
- Make MSVCRTD_operator_new_dbg recognize types of memory blocks.
diff --git a/dlls/msvcrtd/tests/debug.c b/dlls/msvcrtd/tests/debug.c
index 81a533a..d9a1a1c 100644
--- a/dlls/msvcrtd/tests/debug.c
+++ b/dlls/msvcrtd/tests/debug.c
@@ -24,6 +24,8 @@
#include "winbase.h"
#include "winnt.h"
+#include "crtdbg.h"
+
#include "wine/test.h"
/**********************************************************************/
@@ -55,7 +57,7 @@
{
void *mem;
- mem = pMSVCRTD_operator_new_dbg(42, 0, __FILE__, __LINE__);
+ mem = pMSVCRTD_operator_new_dbg(42, _NORMAL_BLOCK, __FILE__, __LINE__);
ok(mem != NULL, "memory not allocated\n");
}