build: detect and include inttypes.h again (revert)

Since not using `PRI*` macros, it isn't needed.

Follow-up to 13c1a93414 #20215
Revert 4c9e4e99c1 #20208

Closes #20225
This commit is contained in:
Viktor Szakats
2026-01-08 15:54:17 +01:00
parent d881b91133
commit 9552d9c0c0
10 changed files with 1 additions and 24 deletions

View File

@@ -151,7 +151,6 @@ set(HAVE_IFADDRS_H 1)
set(HAVE_IF_NAMETOINDEX 1)
set(HAVE_INET_NTOP 1)
set(HAVE_INET_PTON 1)
set(HAVE_INTTYPES_H 1)
set(HAVE_IOCTLSOCKET 0)
set(HAVE_IOCTLSOCKET_CAMEL 0)
set(HAVE_IOCTLSOCKET_CAMEL_FIONBIO 0)

View File

@@ -31,7 +31,6 @@ if(MINGW)
set(HAVE_DIRENT_H 1)
set(HAVE_FTRUNCATE 1)
set(HAVE_GETTIMEOFDAY 1)
set(HAVE_INTTYPES_H 1)
set(HAVE_LIBGEN_H 1)
set(HAVE_OPENDIR 1)
set(HAVE_SNPRINTF 1)
@@ -56,10 +55,8 @@ else()
set(HAVE_STDDEF_H 1) # detected by CMake internally in check_type_size()
set(HAVE_STDINT_H 1) # detected by CMake internally in check_type_size()
if(MSVC_VERSION GREATER_EQUAL 1800)
set(HAVE_INTTYPES_H 1)
set(HAVE_STDBOOL_H 1)
else()
set(HAVE_INTTYPES_H 0)
set(HAVE_STDBOOL_H 0)
endif()
set(HAVE_BOOL_T "${HAVE_STDBOOL_H}")