#5692: Fix build under Cygwin (patch by rb07)

This commit is contained in:
Mike Gelfand 2014-12-11 20:06:07 +00:00
parent 74c6719bb2
commit aedfc35393
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ getquota (const char * device)
spaceused = (int64_t) dq.dqb_curbytes;
#elif defined(__UCLIBC__)
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;
#else
spaceused = btodb(dq.dqb_curspace);