#5692: Fix build under Cygwin (patch by rb07)
This commit is contained in:
parent
74c6719bb2
commit
aedfc35393
|
@ -286,7 +286,7 @@ getquota (const char * device)
|
||||||
spaceused = (int64_t) dq.dqb_curbytes;
|
spaceused = (int64_t) dq.dqb_curbytes;
|
||||||
#elif defined(__UCLIBC__)
|
#elif defined(__UCLIBC__)
|
||||||
spaceused = (int64_t) btodb(dq.dqb_curblocks);
|
spaceused = (int64_t) btodb(dq.dqb_curblocks);
|
||||||
#elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2)
|
#elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
|
||||||
spaceused = (int64_t) dq.dqb_curblocks >> 1;
|
spaceused = (int64_t) dq.dqb_curblocks >> 1;
|
||||||
#else
|
#else
|
||||||
spaceused = btodb(dq.dqb_curspace);
|
spaceused = btodb(dq.dqb_curspace);
|
||||||
|
|
Loading…
Reference in New Issue