configure: unify macro naming for available headers
This commit is contained in:
parent
cb28d6cdb7
commit
767a8b19a9
2 changed files with 4 additions and 4 deletions
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 */
|
||||||
|
|
Loading…
Reference in a new issue