Add some glibc-like #defines for libchrome.
libchrome uses __USE_XOPEN2K8 to decide whether futimens is available. That's perhaps not the best idea, but there are other cases where we defined the same feature macros as glibc to aid portability. Change-Id: Ie6e04cb181d88698d618e7dbd26cd347a6bf076c
This commit is contained in:
parent
89bbb846b9
commit
7ea817d39e
@ -520,6 +520,11 @@
|
||||
#include <android/api-level.h>
|
||||
|
||||
/* glibc compatibility. */
|
||||
#if __POSIX_VISIBLE >= 200809
|
||||
#define __USE_ISOC99 1
|
||||
#define __USE_XOPEN2K 1
|
||||
#define __USE_XOPEN2K8 1
|
||||
#endif
|
||||
#if __LP64__
|
||||
#define __WORDSIZE 64
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user