forked from Imagelibrary/rtems
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user