2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-04 03:10:52 +00:00
qpdf/include/qpdf/Types.h
Jay Berkenbilt 81e8752362 Use qpdf_offset_t in place of off_t in public APIs.
off_t is used internally only when needed to talk to standard
libraries.  This requires that the "long long" type be supported by
the compiler.
2012-06-21 21:23:24 -04:00

12 lines
329 B
C

#ifndef __QPDFTYPES_H__
#define __QPDFTYPES_H__
/* Provide an offset type that should be as big as off_t on just about
* any system. If your compiler doesn't support C99 (or at least the
* "long long" type), then you may have to modify this definition.
*/
typedef long long int qpdf_offset_t;
#endif /* __QPDFTYPES_H__ */