diff options
Diffstat (limited to 'pkgtools/pkg_install/files/lib/config.h.in')
-rw-r--r-- | pkgtools/pkg_install/files/lib/config.h.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgtools/pkg_install/files/lib/config.h.in b/pkgtools/pkg_install/files/lib/config.h.in index 8b791f2069c..2c57ea336a3 100644 --- a/pkgtools/pkg_install/files/lib/config.h.in +++ b/pkgtools/pkg_install/files/lib/config.h.in @@ -105,6 +105,9 @@ /* Define to 1 if you have the <vis.h> header file. */ #undef HAVE_VIS_H +/* Define to 1 if the `z' modifider for printf is missing. */ +#undef MISSING_SIZE_T_SUPPORT + /* Defined when PRIu64 is missing or broken */ #undef NEED_PRI_MACRO @@ -138,6 +141,9 @@ /* The size of `long long', as computed by sizeof. */ #undef SIZEOF_LONG_LONG +/* The size of `size_t', as computed by sizeof. */ +#undef SIZEOF_SIZE_T + /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -176,3 +182,15 @@ # define vfork fork #endif +#ifndef MISSING_SIZE_T_SUPPORT +# define PRIzu "zu" +#elif SIZEOF_SIZE_T == SIZEOF_INT +# define PRIzu "u" +#elif SIZEOF_SIZE_T == SIZEOF_LONG +# define PRIzu "lu" +#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG +# define PRIzu "llu" +#else +# errror "Unknown size_t size" +#endif + |