size_fmt.h 320 B

123456789101112131415
  1. /*
  2. * size_fmt.h
  3. *
  4. * used to format size_t values within a printf-like format string
  5. */
  6. #ifdef HAVE_CONFIG_H
  7. # include "config.h"
  8. # if (SIZEOF_LONG != SIZEOF_INT)
  9. # define SIZE_FMT "lu"
  10. # else
  11. # define SIZE_FMT "u"
  12. # endif
  13. #else /* not HAVE_CONFIG_H */
  14. # define SIZE_FMT "u"
  15. #endif /* not HAVE_CONFIG_H */