mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-19 11:32:28 +02:00
Remove checks for uint* types that are part of C99
Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Antonio Quartulli <antonio@openvpn.net> Message-Id: <20210406162518.4075-2-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22049.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
17f9133206
commit
6287538039
18
compat.m4
18
compat.m4
@ -46,24 +46,6 @@ ifdef(
|
||||
,
|
||||
[AC_DEFUN([AC_PROG_SED], [AC_CHECK_PROGS([SED], [sed])])]
|
||||
)
|
||||
ifdef(
|
||||
[AC_TYPE_INT8_T],
|
||||
,
|
||||
[
|
||||
AC_CHECK_HEADERS([inttypes.h stdint.h])
|
||||
test -z "${ac_cv_header_inttypes_h}${ac_cv_header_stdint_h}" && \
|
||||
AC_MSG_ERROR([Required inttypes.h stdint.h not found])
|
||||
|
||||
AC_DEFUN([AC_TYPE_INT8_T], [])
|
||||
AC_DEFUN([AC_TYPE_INT16_T], [])
|
||||
AC_DEFUN([AC_TYPE_INT32_T], [])
|
||||
AC_DEFUN([AC_TYPE_INT64_T], [])
|
||||
AC_DEFUN([AC_TYPE_UINT8_T], [])
|
||||
AC_DEFUN([AC_TYPE_UINT16_T], [])
|
||||
AC_DEFUN([AC_TYPE_UINT32_T], [])
|
||||
AC_DEFUN([AC_TYPE_UINT64_T], [])
|
||||
]
|
||||
)
|
||||
ifdef(
|
||||
[PKG_CHECK_VAR],
|
||||
,
|
||||
|
@ -409,14 +409,6 @@ AC_TYPE_OFF_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_UID_T
|
||||
AC_TYPE_INT8_T
|
||||
AC_TYPE_INT16_T
|
||||
AC_TYPE_INT32_T
|
||||
AC_TYPE_INT64_T
|
||||
AC_TYPE_UINT8_T
|
||||
AC_TYPE_UINT16_T
|
||||
AC_TYPE_UINT32_T
|
||||
AC_TYPE_UINT64_T
|
||||
AC_TYPE_SIGNAL
|
||||
AX_TYPE_SOCKLEN_T
|
||||
AC_CHECK_SIZEOF([unsigned int])
|
||||
|
@ -118,11 +118,9 @@
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
/* These headers belong to C99 and should be always be present */
|
||||
#include <inttypes.h>
|
||||
#elif defined(HAVE_STDINT_H)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDARG_H
|
||||
#include <stdarg.h>
|
||||
|
Loading…
Reference in New Issue
Block a user