Commit 85e73f9f authored by François Grisez's avatar François Grisez

Fixes potential ABI mismatch between libmatroska and libc whin CONFIG_FILEPOS_64 is defined

That prevents ABI mismatch with recent Android NDK.
parent f4b87c52
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "file.h"
#include "config.h"
#ifdef CONFIG_FILEPOS_64
#define __USE_FILE_OFFSET64
......@@ -48,6 +48,8 @@
#include <sys/vfs.h>
#endif
#include "file.h"
#if defined(O_ACCMODE)
#define _RW_ACCESS_FILE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
#define _RW_ACCESS_DIR (S_IRWXU|S_IRWXG|S_IRWXO)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment