在 2025-02-26 20:12, Kirill Makurin 写道:
Thanks for letting me know. I was afraid something like this could happen since pthread_signal.h is included from mingw-w64's signal.h.I kinda think that these macros shouldn't have been defined; without `sigprocmask()` etc. they seem useless anyway.Still, I think we could include pthread_signal.h from pthread.h for MSVC compilation. Maybe also move `SIG_*` macros closer to the top and add a comment explaining why it's here and not in pthread_signal.h?
But we probably can't do that for now due to some insane compatibility, even they are defined in a wrong header.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public