From 80774a2fcafcde4c37928b96cd06554df9700c15 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 30 Oct 2017 22:38:29 +0100 Subject: [PATCH] [LIBSAMPLERATE] Define exit() as __debugbreak(). CORE-11799 (#94) --- sdk/lib/3rdparty/libsamplerate/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/lib/3rdparty/libsamplerate/config.h b/sdk/lib/3rdparty/libsamplerate/config.h index c360c2b5e3c..922fbc38056 100644 --- a/sdk/lib/3rdparty/libsamplerate/config.h +++ b/sdk/lib/3rdparty/libsamplerate/config.h @@ -197,9 +197,9 @@ #define inline __inline /* ReactOS hacks */ -void __stdcall DbgBreakPoint(void); +void __cdecl __debugbreak(void); unsigned long __cdecl DbgPrint(const char *Format, ...); -#define exit(n) DbgBreakPoint() +#define exit(n) __debugbreak() #define printf DbgPrint # ifdef _MSC_VER -- 2.17.1