Resolve multiple definition of __sig (fixes #1346) (#1352)

This commit is contained in:
Steven Dee (Jōshin) 2025-01-05 19:54:49 -08:00 committed by GitHub
parent 90119c422c
commit dab6d7a345
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,8 +30,6 @@
// usually better that sigprocmask only strace the user is calling it.
// plus, since we have a very specific use case, this code goes faster
struct Signals __sig;
sigset_t __sig_block(void) {
if (IsWindows() || IsMetal()) {
if (__tls_enabled)