Fix for support win64.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-09-20 13:20:21 +03:00
parent 305818bd8e
commit e0cad4e732

View File

@ -115,7 +115,9 @@ static void __inline__ debug_break(void)
* */
__builtin_trap();
} else {
#ifdef _WIN32
#if defined(_WIN32) || defined(_WIN64)
/* SIGTRAP available only on POSIX-compliant operating systems
* use builtin trap instead */
__builtin_trap();
#else
raise(SIGTRAP);