forked from luaposix/luaposix
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: detect POSIX 2001 or POSIX 2008 compliance.
Close luaposix#197. * configure.ac: Reformat comments. Pass LPOSIX_2001_COMPLIANT directly to cpp on QNX. * ext/include/_helpers.c (LPOSIX_2008_COMPLIANT): Enable only if _POSIX_C_SOURCE or _XOPEN_SOURCE are set appropriately. (LPOSIX_2001_COMPLIANT): Add _XOPEN_SOURCE >= 600 condition. * ext/posix/stdlib.c (Pmkdtemp): Disable this function unless LPOSIX_2008_COMPLIANT is defined. Reported by James Harris <jimmy@jamesharris.org> Signed-off-by: Gary V. Vaughan <gary@gnu.org>
- Loading branch information
Showing
3 changed files
with
56 additions
and
31 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
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
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