mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
libceph: error out if USE_FILE_OFFSET64 not defined
Otherwise struct dirent will not match user code and badness on readdir will ensure. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
e9fac67fe1
commit
101506aa6a
@ -23,6 +23,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __USE_FILE_OFFSET64
|
||||
# error libceph: must define __USE_FILE_OFFSET64 or readdir results will be corrupted
|
||||
#endif
|
||||
|
||||
struct ceph_mount_info;
|
||||
struct ceph_dir_result;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user