Changeset 14117


Ignore:
Timestamp:
Jul 12, 2013, 10:42:40 PM (9 years ago)
Author:
jordan
Message:

in libtransmission/platform-quota.c, a one-liner patch to fix compilation on some versions of Linux. Patch by rb07

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform-quota.c

    r14110 r14117  
    239239#elif defined(__UCLIBC__)
    240240      spaceused = (int64_t) btodb(dq.dqb_curblocks);
    241 #elif defined(__sun)
     241#elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2)
    242242      spaceused = (int64_t) dq.dqb_curblocks >> 1;
    243243#else
Note: See TracChangeset for help on using the changeset viewer.