From 803c0c69656188264bd01e71af036452286a8752 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 26 Sep 2015 22:19:29 +0100 Subject: Added the _UNICODE flag on Windows --- src/LeakFinder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LeakFinder.cpp') diff --git a/src/LeakFinder.cpp b/src/LeakFinder.cpp index 2e352af2d..dba8275c8 100644 --- a/src/LeakFinder.cpp +++ b/src/LeakFinder.cpp @@ -875,7 +875,7 @@ static int MyAllocHook(int nAllocType, void *pvData, printf("********************************************\n"); printf("Please wait\n"); - LeakFinderXmlOutput Output("memdump.xml"); + LeakFinderXmlOutput Output(L"memdump.xml"); DumpUsedMemory(&Output); printf("\nMemory dump complete. Server will now abort.\n"); @@ -912,7 +912,7 @@ static int MyAllocHook(int nAllocType, void *pvData, printf("********************************************\n"); printf("Please wait\n"); - LeakFinderXmlOutput Output("memdump.xml"); + LeakFinderXmlOutput Output(L"memdump.xml"); DumpUsedMemory(&Output); printf("\nMemory dump complete. Server will now abort.\n"); @@ -955,7 +955,7 @@ static int MyAllocHook(int nAllocType, void *pvData, printf("******************************************\n"); printf("Please wait\n"); - LeakFinderXmlOutput Output("memdump.xml"); + LeakFinderXmlOutput Output(L"memdump.xml"); DumpUsedMemory(&Output); printf("\nMemory dump complete. Server will now abort.\n"); -- cgit v1.2.3