Fix missing oldMask for x86
parent
ec8c794a26
commit
87e2da8388
4
cpu.cpp
4
cpu.cpp
|
|
@ -160,6 +160,10 @@ static bool TrySSE2()
|
||||||
if (oldHandler == SIG_ERR)
|
if (oldHandler == SIG_ERR)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
volatile sigset_t oldMask;
|
||||||
|
if (sigprocmask(0, NULL, (sigset_t*)&oldMask))
|
||||||
|
result = false;
|
||||||
|
|
||||||
if (setjmp(s_jmpNoSSE2))
|
if (setjmp(s_jmpNoSSE2))
|
||||||
result = true;
|
result = true;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue