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

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

That prevents ABI mismatch with recent Android NDK.
Showing with 3 additions and 1 deletion
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* *
****************************************************************************/ ****************************************************************************/
#include "file.h" #include "config.h"
#ifdef CONFIG_FILEPOS_64 #ifdef CONFIG_FILEPOS_64
#define __USE_FILE_OFFSET64 #define __USE_FILE_OFFSET64
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
#include <sys/vfs.h> #include <sys/vfs.h>
#endif #endif
#include "file.h"
#if defined(O_ACCMODE) #if defined(O_ACCMODE)
#define _RW_ACCESS_FILE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) #define _RW_ACCESS_FILE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
#define _RW_ACCESS_DIR (S_IRWXU|S_IRWXG|S_IRWXO) #define _RW_ACCESS_DIR (S_IRWXU|S_IRWXG|S_IRWXO)
......
Supports Markdown
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