Skip to content

Commit ef765a0

Browse files
committed
Autoconf: Do not check for C99 uintptr_t. [skip appveyor]
At the time of commit 09b639a in 2015 C99 was not a requirement yet, so the use of AC_TYPE_UINTPTR_T was necessary. However, CMake since its introduction in 2018 has not been checking for uintptr_t, which proves that by now all supported platforms have the type and the Autoconf check is obsolete.
1 parent f81ffd1 commit ef765a0

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

cmakeconfig.h.in

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@
165165
/* Define to 1 if the system has the type `struct ether_addr'. */
166166
#cmakedefine HAVE_STRUCT_ETHER_ADDR 1
167167

168-
/* Define to 1 if the system has the type `uintptr_t'. */
169-
#cmakedefine HAVE_UINTPTR_T 1
170-
171168
/* Define to 1 if you have the `vfork' function. */
172169
#cmakedefine HAVE_VFORK 1
173170

@@ -236,7 +233,3 @@
236233

237234
/* Define to `uint8_t' if u_int8_t not defined. */
238235
#cmakedefine u_int8_t 1
239-
240-
/* Define to the type of an unsigned integer type wide enough to hold a
241-
pointer, if such a type exists, and if the system does not define it. */
242-
#cmakedefine uintptr_t 1

configure.ac

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -725,12 +725,6 @@ solaris*)
725725
;;
726726
esac
727727

728-
#
729-
# Make sure we have a definition for C99's uintptr_t (regardless of
730-
# whether the environment is a C99 environment or not).
731-
#
732-
AC_TYPE_UINTPTR_T
733-
734728
savedcppflags="$CPPFLAGS"
735729
CPPFLAGS="$CPPFLAGS $V_INCLS"
736730

0 commit comments

Comments
 (0)