Skip to content
  • Cheng Shao's avatar
    CLOCK_REALTIME is not always a literal integer · 226562b1
    Cheng Shao authored
    One counter-example is wasi-libc, where it aliases an internal symbol
    and therefore is a pointer type. This makes it incompatible with
    hsc2hs #const, therefore we better use capi import here, which is
    guaranteed to work uniformly.
    226562b1