small OpenBSD fixes (mount.h and FILE_OFFSET_BITS)

This commit is contained in:
Jean-Francois Dockes
2011-09-23 10:32:41 +02:00
parent b4eb24ca83
commit 5b3c5d8a5d
3 changed files with 42 additions and 3 deletions
+1 -1
View File
@@ -109,7 +109,7 @@
#undef _FILE_OFFSET_BITS
#undef _LARGE_FILES
#if _FILE_OFFSET_BITS == 64 || defined(__APPLE__)
#if _FILE_OFFSET_BITS == 64 || defined(__APPLE__) || defined(__OpenBSD__)
#define OFFTPC "%lld"
#else
#define OFFTPC "%ld"