mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
GCC/Linux version of NLMISC_BREAKPOINT
--HG-- branch : feature-crashreport
This commit is contained in:
parent
92d692fe69
commit
6ae954326d
1 changed files with 4 additions and 2 deletions
|
@ -350,8 +350,10 @@ void setCrashAlreadyReported(bool state);
|
|||
*/
|
||||
|
||||
// removed because we always check assert (even in release mode) #if defined (NL_OS_WINDOWS) && defined (NL_DEBUG)
|
||||
#if defined (NL_OS_WINDOWS)
|
||||
#define NLMISC_BREAKPOINT __debugbreak();
|
||||
#if defined(NL_OS_WINDOWS)
|
||||
#define NLMISC_BREAKPOINT __debugbreak()
|
||||
#elif defined(NL_OS_UNIX) && defined(NL_COMP_GCC)
|
||||
#define NLMISC_BREAKPOINT __builtin_trap()
|
||||
#else
|
||||
#define NLMISC_BREAKPOINT abort()
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue