Skip to content
  • rl@cse.unsw.edu.au's avatar
    Declare ctime_r on Mac OS · 224a7fa0
    rl@cse.unsw.edu.au authored
    On Mac OS, ctime_r is not declared in time.h if _POSIX_C_SOURCE is defined. We
    work around this by providing a declaration ourselves.
    224a7fa0