summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-04-22 20:18:19 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-04-22 20:18:19 +0200
commitf91f72607b8101bfe9df3bf8327c99e9a1f21a00 (patch)
treecdbd86578a6709fa3c901747532d7cd8d3dcf890 /build
parent657f756ccd79b0fd1268eb9796e371aa3f76c2a8 (diff)
downloadphp-git-f91f72607b8101bfe9df3bf8327c99e9a1f21a00.tar.gz
Drop unnecessary stdint and inttypes header checks
These are always available as of C99. Closes GH-5323 Co-authored-by: "Christoph M. Becker" <cmbecker69@gmx.de>
Diffstat (limited to 'build')
-rw-r--r--build/php.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/build/php.m4 b/build/php.m4
index c43340315f..1b9940147e 100644
--- a/build/php.m4
+++ b/build/php.m4
@@ -1044,9 +1044,7 @@ AC_DEFUN([_PHP_CHECK_SIZEOF], [
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
-#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -2421,9 +2419,7 @@ AC_DEFUN([PHP_CHECK_STDINT_TYPES], [
AC_CHECK_SIZEOF([long long])
AC_CHECK_SIZEOF([size_t])
AC_CHECK_TYPES([int8, int16, int32, int64, int8_t, int16_t, int32_t, int64_t, uint8, uint16, uint32, uint64, uint8_t, uint16_t, uint32_t, uint64_t, u_int8_t, u_int16_t, u_int32_t, u_int64_t], [], [], [
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
+#include <stdint.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif