mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 08:45:06 -05:00
configure: unify macro naming for available headers
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -436,11 +436,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test_code '<stdint.h>' 'stdint.h' '' '' ''; then
|
if test_code '<stdint.h>' 'stdint.h' '' '' ''; then
|
||||||
add_def HAS_STDINT_H
|
add_def HAVE_STDINT_H
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test_code '<inttypes.h>' 'inttypes.h' '' '' ''; then
|
if test_code '<inttypes.h>' 'inttypes.h' '' '' ''; then
|
||||||
add_def HAS_INTTYPES_H
|
add_def HAVE_INTTYPES_H
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $feat_ipv6 = "1" ] && \
|
if [ $feat_ipv6 = "1" ] && \
|
||||||
|
|||||||
@@ -62,9 +62,9 @@
|
|||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#ifdef HAS_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#elif HAS_STDINT_H
|
#elif HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#else
|
#else
|
||||||
/* Tough */
|
/* Tough */
|
||||||
|
|||||||
Reference in New Issue
Block a user