diff options
author | Simon McVittie <smcv@collabora.com> | 2022-07-19 20:44:58 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-19 21:11:09 +0100 |
commit | 98eff5513ea8a3523c05a93abd28d64a89e6fb80 (patch) | |
tree | 3b7b8835ab5e445e2fb53130fa7ae360e705cf92 /cmake | |
parent | 36038fb1263c64a58b439e43a19d9d164d366601 (diff) | |
download | dbus-98eff5513ea8a3523c05a93abd28d64a89e6fb80.tar.gz |
build: Assume stdint.h is provided
We now require a (mostly-)C99 compiler, meaning we can rely on having
Standard C stdint.h.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | cmake/config.h.cmake | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 3d4e0f2b..6ce85204 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -17,7 +17,6 @@ check_include_file(io.h HAVE_IO_H) # internal check_include_file(linux/close_range.h HAVE_LINUX_CLOSE_RANGE_H) check_include_file(locale.h HAVE_LOCALE_H) check_include_file(signal.h HAVE_SIGNAL_H) -check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h check_include_file(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h check_include_file(syslog.h HAVE_SYSLOG_H) check_include_files("stdint.h;sys/types.h;sys/event.h" HAVE_SYS_EVENT_H) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index 88992149..b8d98fb2 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -114,9 +114,6 @@ /* Define to 1 if you have signal.h */ #cmakedefine HAVE_SIGNAL_H 1 -/* Define to 1 if you have stdint.h */ -#cmakedefine HAVE_STDINT_H 1 - /* Define to 1 if you have stdio.h */ #cmakedefine HAVE_STDIO_H 1 |