From: Amine Khaldi Date: Mon, 30 Oct 2017 21:38:29 +0000 (+0100) Subject: [LIBSAMPLERATE] Define exit() as __debugbreak(). CORE-11799 (#94) X-Git-Tag: v0.4.7~178 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=80774a2fcafcde4c37928b96cd06554df9700c15 [LIBSAMPLERATE] Define exit() as __debugbreak(). CORE-11799 (#94) --- 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