OSDN Git Service
(root)
/
android-x86
/
external-ntfs-3g.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747ab03
)
android: remove unnecessary macros
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 21 Feb 2019 14:34:10 +0000
(22:34 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 21 Feb 2019 14:34:10 +0000
(22:34 +0800)
These have been defined in newer bionic.
config.h
patch
|
blob
|
history
diff --git
a/config.h
b/config.h
index
4291b88
..
4cf0f46
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-439,11
+439,6
@@
/* Android specific definitions */
#define __timespec_defined
#define MAJOR_IN_SYSMACROS
-#define S_IREAD 0400 /* Read by owner. */
-#define S_IWRITE 0200 /* Write by owner. */
-#define S_IEXEC 0100 /* Execute by owner.*/
-#define setmntent(f,m) fopen(f,m)
-#define endmntent(f) fclose(f)
/* Android bionic doesn't honor _FILE_OFFSET_BITS,
so redefine off_t to be 64-bit. */
#include <stdio.h>