tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

24_wasi_signal_handling_fix_.patch (350B)


      1 diff --git a/math_private.h b/math_private.h
      2 index b588a59..dad6b01 100644
      3 --- a/math_private.h
      4 +++ b/math_private.h
      5 @@ -678,6 +678,8 @@ irintl(long double x)
      6 #ifdef DEBUG
      7 #if defined(__amd64__) || defined(__i386__)
      8 #define	breakpoint()	asm("int $3")
      9 +#elif defined(__wasm__)
     10 +#define breakpoint()    __builtin_trap()
     11 #else
     12 #include <signal.h>