mirror of
https://github.com/transmission/transmission
synced 2025-01-01 12:35:22 +00:00
Merge pull request #42 from wbx-github/master
uClibc-ng since 1.0.18 has sys/quota.h synced with GNU libc
This commit is contained in:
commit
0390684bc4
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ getquota (const char * device)
|
|||
spaceused = (int64_t) dq.dqb_curblocks >> 1;
|
||||
#elif defined(__APPLE__)
|
||||
spaceused = (int64_t) dq.dqb_curbytes;
|
||||
#elif defined(__UCLIBC__)
|
||||
#elif defined (__UCLIBC__) && !TR_UCLIBC_CHECK_VERSION (1, 0, 18)
|
||||
spaceused = (int64_t) btodb(dq.dqb_curblocks);
|
||||
#elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
|
||||
spaceused = (int64_t) dq.dqb_curblocks >> 1;
|
||||
|
|
Loading…
Reference in a new issue