Favor siginfo_t over struct siginfo

This commit is contained in:
Justine Tunney 2024-05-28 02:34:17 -07:00
parent c638eabfe0
commit deaef81463
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
20 changed files with 37 additions and 39 deletions

View file

@ -26,6 +26,7 @@
#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
#define _LIBCPP_NO_VCRUNTIME
#define _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION 1
#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
#ifdef MODE_DBG
#define _LIBCPP_ENABLE_DEBUG_MODE

View file

@ -96,7 +96,7 @@ LaunchPythonModule(const char *name)
#if USE_COSMO_CRASH
void
ShowCrashReportHook(int err, int fd, int sig,
struct siginfo *si, ucontext_t *ctx)
siginfo_t *si, ucontext_t *ctx)
{
PyObject *str;
PyFrameObject *frame;