X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fposix%2Fstddef.m4;h=2c9abf28888fce399d843948b615fff78383347f;hp=fd52d2a1c8228ac8d8a9d5fddfc351c09d2b7a2c;hb=6864dd48391d1e98959ac13d5a0914693b4f1d0f;hpb=6606de9915d219a59ad5d6cad531d8dd50946876 diff --git a/m4/posix/stddef.m4 b/m4/posix/stddef.m4 index fd52d2a..2c9abf2 100644 --- a/m4/posix/stddef.m4 +++ b/m4/posix/stddef.m4 @@ -1,5 +1,11 @@ PSI_CHECK_STDDEF() { + dnl Though, autoconf manual says "This macro is obsolescent, as current systems + dnl have conforming header files. New programs need not use this macro.", in fact + dnl AC_INCLUDES_DEFAULT still relies on STDC_HEADERS + AC_HEADER_STDC + AC_CHECK_HEADERS(stddef.h) + PSI_TYPE(ptrdiff_t, int) PSI_CONST(PTRDIFF_MIN, int) PSI_CONST(PTRDIFF_MAX, int)