It is related, see

https://mail.haskell.org/pipermail/ghc-devs/2017-April/014055.html

I did not check whether `time` has been updated yet.

Cheers,

    Gabor

Em seg, 1 de mai de 2017 às 03:01, Richard Eisenberg <rae@cs.brynmawr.edu> escreveu:
Hi devs,

Trying to validate with tonight's HEAD (+ my local changes) on a Mac yields

libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:22:7: error:
     error: 'HAVE_CLOCK_GETTIME' is not defined, evaluates to 0 [-Werror,-Wundef]
   |
22 | #elif HAVE_CLOCK_GETTIME
   |       ^
#elif HAVE_CLOCK_GETTIME
      ^

libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:70:7: error:
     error: 'HAVE_CLOCK_GETTIME' is not defined, evaluates to 0 [-Werror,-Wundef]
   |
70 | #elif HAVE_CLOCK_GETTIME
   |       ^
#elif HAVE_CLOCK_GETTIME

Is this related to the recent change from #ifdef to #if?

Thanks,
Richard
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs