• Martin Storsjö's avatar
    Don't fall back to raise(SIGTRAP) on Windows · 77346d90
    Martin Storsjö authored
    When targeting mingw on architectures other than x86, the earlier cases
    don't apply, and the final fallback, raise(SIGTRAP) isn't usable there.
    
    GCC and Clang both support __builtin_trap(), so in case we have no
    other alternatives, and are on windows (where raise() isn't available),
    we can resort to this.
    77346d90