[PATCH 3/3] mscvrt: fix include to be C++ compatible

Marcus Meissner meissner at suse.de
Thu Jul 8 08:59:59 CDT 2010


C++ does not like "new" as variable...

Ciao, Marcus
 include/msvcrt/crtdbg.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/msvcrt/crtdbg.h b/include/msvcrt/crtdbg.h
index f8e3db8..cc85995 100644
--- a/include/msvcrt/crtdbg.h
+++ b/include/msvcrt/crtdbg.h
@@ -88,8 +88,8 @@ int   __cdecl _CrtCheckMemory(void);
 int   __cdecl _CrtDbgReport(int reportType, const char *filename, int linenumber,
                             const char *moduleName, const char *format, ...);
 int   __cdecl _CrtDumpMemoryLeaks(void);
-int   __cdecl _CrtSetBreakAlloc(int new);
-int   __cdecl _CrtSetDbgFlag(int new);
+int   __cdecl _CrtSetBreakAlloc(int);
+int   __cdecl _CrtSetDbgFlag(int);
 void *__cdecl _CrtSetDumpClient(void *dumpClient);
 int   __cdecl _CrtSetReportMode(int reportType, int reportMode);

More information about the wine-patches mailing list