• Chun-wei Fan's avatar
    Fix building of gjs_profiler_chain_signal() on Windows · 5d222f48
    Chun-wei Fan authored
    Define a macro in gjs/macros.h to denote the handler type, which is
    siginfo_t* on UNIX and a void * on non-UNIX so that the code will build,
    as there is no siginfo_t on Windows.
    
    Also avoid including UNIX-only headers unconditionally.
    5d222f48
macros.h 2.33 KB