https://git.reactos.org/?p=reactos.git;a=commitdiff;h=80774a2fcafcde4c37928…
commit 80774a2fcafcde4c37928b96cd06554df9700c15
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 30 22:38:29 2017 +0100
[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 c360c2b5e3..922fbc3805 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