mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
libc: Add <inttypes.h> C23 feature test macro
Define __STDC_VERSION_INTTYPES_H__ now that the header fully conforms to C23. Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D59382
This commit is contained in:
1 file changed
+6
@@ -29,6 +29,12 @@
|
||||
#ifndef _INTTYPES_H_
|
||||
#define _INTTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if __ISO_C_VISIBLE >= 2023 || __BSD_VISIBLE
|
||||
#define __STDC_VERSION_INTTYPES_H__ 202311L
|
||||
#endif
|
||||
|
||||
#include <machine/_inttypes.h>
|
||||
#include <sys/stdint.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user