mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
cdefs: Add FreeBSD _C23_SOURCE extension
Add _C23_SOURCE extension to mirror the _C11_SOURCE define. Unsure how useful this is. Sponsored by: Netflix Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D47577
This commit is contained in:
parent
4afcb82193
commit
aec6c812be
1 changed files with 6 additions and 0 deletions
|
|
@ -616,6 +616,12 @@
|
|||
#define __BSD_VISIBLE 0
|
||||
#define __ISO_C_VISIBLE 2011
|
||||
#define __EXT1_VISIBLE 0
|
||||
#elif defined(_C23_SOURCE) /* Localism to specify strict C23 env. */
|
||||
#define __POSIX_VISIBLE 0
|
||||
#define __XSI_VISIBLE 0
|
||||
#define __BSD_VISIBLE 0
|
||||
#define __ISO_C_VISIBLE 2023
|
||||
#define __EXT1_VISIBLE 0
|
||||
#else /* Default environment: show everything. */
|
||||
#define __POSIX_VISIBLE 200809
|
||||
#define __XSI_VISIBLE 700
|
||||
|
|
|
|||
Loading…
Reference in a new issue