[GHC] #12624: Un-revert PosixSource.h cleanup
GHC
ghc-devs at haskell.org
Mon Sep 26 09:00:26 UTC 2016
#12624: Un-revert PosixSource.h cleanup
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by angerman):
As @kgardas provided via email:
the core of the issue is this:
> Oracle's Solaris 11 supports max:
>
> #define _POSIX_C_SOURCE 200112L
> #define _XOPEN_SOURCE 600
how the feature_tests.h likely looks can be found at
https://raw.githubusercontent.com/illumos/illumos-
gate/7c478bd95313f5f23a4c958a745db2134aa03244/usr/src/uts/common/sys/feature_tests.h
I'm wondering if we can get away without platform ifdefs :-/
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12624#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list