2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>

* configure.ac: Add AC_CHECK_SIZEOF(off_t).
	* include/pmacros.h: Add PRIdoff_t.
This commit is contained in:
Ralf Corsepius
2010-05-29 05:31:46 +00:00
parent 668bcccde6
commit 700b9116a8
2 changed files with 11 additions and 0 deletions

View File

@@ -93,6 +93,14 @@
#define empty_line() puts( "" )
#if SIZEOF_OFF_T == 8
#define PRIdoff_t PRIo64
#elif SIZEOF_OFF_T == 4
#define PRIdoff_t PRIo32
#else
#error "unsupported size of off_t"
#endif
#endif
/* end of file */