diff options
author | Rob Landley <rob@landley.net> | 2016-03-01 21:14:55 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-03-01 21:14:55 -0600 |
commit | 5a44e4ae3487cf033a99b81263cd07bf9951a6a2 (patch) | |
tree | dd78493a284ba142b708c757cb69c70441d4f824 /lib | |
parent | 789d2c1234cf7805d3d6df846b491a112ae93bc7 (diff) | |
download | toybox-5a44e4ae3487cf033a99b81263cd07bf9951a6a2.tar.gz |
The last-ever release of uClibc didn't #define MS_RELATIME.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h index d0d0bd90..d11cc9c6 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -116,6 +116,9 @@ pid_t getsid(pid_t pid); #ifndef MS_SHARED #define MS_SHARED (1<<20) #endif +#ifndef MS_RELATIME +#define MS_RELATIME (1<<21) +#endif // When building under obsolete glibc (Ubuntu 8.04-ish), hold its hand a bit. #elif __GLIBC__ == 2 && __GLIBC_MINOR__ < 10 |