X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fposix%2Fstddef.m4;h=2c9abf28888fce399d843948b615fff78383347f;hb=8d1d1243a8a42b0046ac670808913b3bb06c994b;hp=fd52d2a1c8228ac8d8a9d5fddfc351c09d2b7a2c;hpb=c9b3436bd51a4dcf7d6cc6817d4c7a8ad99538d4;p=m6w6%2Fext-psi 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)