-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standards: fix build on Solaris <11.4, illumos (re: a38e804)
These SunOS versions are extremely picky with their standards macros and will disable basic functionality if you pass the ones recommend by the standards(5) manual. src/lib/libast/features/standards: - Revert to the __EXTENSIONS__ and _XOPEN_SOURCE values known to work for whatever reason, and avoid passing _POSIX_C_SOURCE under any circumstances. (It's still working fine without any compiler wrapper script.) - Add a new heuristic. _POSIX_PATH_MAX and _SC_PAGESIZE are among the basic macros disabled when you pass recommended standards macros, killing the build, so it's good to check if they compile.
- Loading branch information
Showing
1 changed file
with
39 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters