Commit b00a6e6e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Improve _CrtDbgBreak macro.

parent b7ce75e9
......@@ -70,7 +70,9 @@ typedef struct _CrtMemState
#include <assert.h>
#define _ASSERT(expr) assert(expr)
#define _ASSERTE(expr) assert(expr)
#if defined(__GNUC__) && defined(__i386__)
#if defined(_MSC_VER)
#define _CrtDbgBreak() __debugbreak()
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
#define _CrtDbgBreak() __asm__ ("\tint $0x3\n")
#else
#define _CrtDbgBreak() ((void)0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment