]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reviewed by: bde
authorPeter Dufault <dufault@FreeBSD.org>
Sun, 8 Mar 1998 17:25:38 +0000 (17:25 +0000)
committerPeter Dufault <dufault@FreeBSD.org>
Sun, 8 Mar 1998 17:25:38 +0000 (17:25 +0000)
commitaac4ad2c994742defc0623bd489206743241552c
tree0dff9523762d4433c9265778cf79490f9378d188
parentaac18d035f1c8256522613d417dc9ae2731641ec
Reviewed by: bde

Changes to support building with _POSIX_SOURCE set to 199309L:

1. Add sys/_posix.h to handle those preprocessor defs that POSIX
says have effects when defined before including any header files;

2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE

3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now
defined in POSIX.  These show up when:

_POSIX_SOURCE and _POSIX_C_SOURCE are not set or
_POSIX_C_SOURCE is set >= 199309L

and vanish when:

_POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L.

4. Explain these in man 9 posix4;

5. Include _posix.h and conditionalize on new feature test.
15 files changed:
include/limits.h
include/signal.h
lib/libc/gen/sysconf.c
share/man/man9/posix4.9
sys/posix4/aio.h
sys/posix4/mqueue.h
sys/posix4/posix4.h
sys/posix4/semaphore.h
sys/sys/_posix.h [new file with mode: 0644]
sys/sys/aio.h
sys/sys/mman.h
sys/sys/posix4.h
sys/sys/rtprio.h
sys/sys/semaphore.h
sys/sys/unistd.h