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:
Faraz Vahedi committed 2026-09-05 12:00:29 +03:30
1 parent 5aeedaf720
commit 733ea4ee58
1 file changed
+6
+6
View File
@@ -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>