diff options
| author | Elliott Hughes <enh@google.com> | 2013-03-22 10:58:55 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2013-03-22 10:58:55 -0700 |
| commit | 890c8ed6ef773160cd6840a92e0d469fe530871f (patch) | |
| tree | 6689569955f500ea13697ea928386dd9c64d1af3 /libc/include/sys/stat.h | |
| parent | 34895c1bdfa5df48ee9a7b4368b6def403f24cf1 (diff) | |
| download | bionic-890c8ed6ef773160cd6840a92e0d469fe530871f.zip bionic-890c8ed6ef773160cd6840a92e0d469fe530871f.tar.gz bionic-890c8ed6ef773160cd6840a92e0d469fe530871f.tar.bz2 | |
Fix builds where _FORTIFY_SOURCE is off.
Also add a more intention-revealing guard so we don't have loads of
places checking whether our inlining macro is defined.
Change-Id: I168860cedcfc798b07a5145bc48a125700265e47
Diffstat (limited to 'libc/include/sys/stat.h')
| -rw-r--r-- | libc/include/sys/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index 05b221f..4e8beb6 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -129,7 +129,7 @@ extern int lstat(const char *, struct stat *); extern int mknod(const char *, mode_t, dev_t); extern mode_t umask(mode_t); -#if defined(__BIONIC_FORTIFY_INLINE) +#if defined(__BIONIC_FORTIFY) extern mode_t __umask_chk(mode_t); extern mode_t __umask_real(mode_t) @@ -147,7 +147,7 @@ mode_t umask(mode_t mode) { } return __umask_chk(mode); } -#endif /* defined(__BIONIC_FORTIFY_INLINE) */ +#endif /* defined(__BIONIC_FORTIFY) */ #define stat64 stat |
