commit | 6184c1feaaecd161d9e53fb2ebe9c9a9ff4610cf | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jul 09 14:18:36 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jul 09 14:18:36 2013 -0700 |
tree | 124f38d761d958b929e3f70a6646cac1bf0a464b | |
parent | 9d476716c2bd7bc5a018a71e121257c35e965058 [diff] |
Fix MIPS build. Change-Id: I583b1794dbc12fcded8c4f57f367593a742ab33f
diff --git a/libc/bionic/statvfs.cpp b/libc/bionic/statvfs.cpp index 5d58281..5d42aaa 100644 --- a/libc/bionic/statvfs.cpp +++ b/libc/bionic/statvfs.cpp
@@ -23,6 +23,10 @@ #define ST_VALID 0x0020 +#if defined(__mips__) +#define __val val +#endif + static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { out->f_bsize = in.f_bsize; out->f_frsize = in.f_frsize;