get rid of the OFFTPC nonsense and cast to long long use lld to print off_t

This commit is contained in:
Jean-Francois Dockes
2013-09-26 14:35:50 +02:00
parent d198105694
commit 9cb5371820
4 changed files with 9 additions and 17 deletions
-8
View File
@@ -111,11 +111,3 @@
#undef _FILE_OFFSET_BITS
#undef _LARGE_FILES
/* The __FreeBSD_kernel__ thing is for debian/kfreebsd. */
#if _FILE_OFFSET_BITS == 64 || defined(__APPLE__) || defined(__OpenBSD__) ||\
defined(__FreeBSD_kernel__) || (defined(__FreeBSD__) && __FreeBSD__ >= 9)
#define OFFTPC "%lld"
#else
#define OFFTPC "%ld"
#endif