Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    4d36a1d3
    rts: don't define RTS_USER_SIGNALS when signal.h is not present · 4d36a1d3
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    In the rts, we have a RTS_USER_SIGNALS macro, and most signal-related
    logic is guarded with RTS_USER_SIGNALS. This patch extends the range
    of code guarded with RTS_USER_SIGNALS, and define RTS_USER_SIGNALS iff
    signal.h is actually detected by autoconf. This is required for
    wasm32-wasi to work, which lacks signals.
    4d36a1d3
    History
    rts: don't define RTS_USER_SIGNALS when signal.h is not present
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    In the rts, we have a RTS_USER_SIGNALS macro, and most signal-related
    logic is guarded with RTS_USER_SIGNALS. This patch extends the range
    of code guarded with RTS_USER_SIGNALS, and define RTS_USER_SIGNALS iff
    signal.h is actually detected by autoconf. This is required for
    wasm32-wasi to work, which lacks signals.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.