Undef private *_BODY defines after use

Bug: 14865741
Change-Id: I1398f7b3f64e3c94f2714cede5b61205dfa78a24
This commit is contained in:
Calin Juravle
2014-05-13 11:01:11 +01:00
parent 38967f3d1f
commit f963da22ec
3 changed files with 6 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ __BEGIN_DECLS
struct dirent { __DIRENT64_BODY };
struct dirent64 { __DIRENT64_BODY };
#undef __DIRENT64_BODY
#define d_fileno d_ino
typedef struct DIR DIR;

View File

@@ -130,6 +130,8 @@ __BEGIN_DECLS
struct stat { __STAT64_BODY };
struct stat64 { __STAT64_BODY };
#undef __STAT64_BODY
#define st_atimensec st_atime_nsec
#define st_mtimensec st_mtime_nsec
#define st_ctimensec st_ctime_nsec

View File

@@ -107,6 +107,8 @@ typedef __fsid_t fsid_t;
struct statfs { __STATFS64_BODY };
struct statfs64 { __STATFS64_BODY };
#undef __STATFS64_BODY
/* Declare that we have the f_namelen, f_frsize, and f_flags fields. */
#define _STATFS_F_NAMELEN
#define _STATFS_F_FRSIZE