Changeset 9819


Ignore:
Timestamp:
Dec 25, 2009, 3:48:41 PM (12 years ago)
Author:
livings124
Message:

#2696 posix_fadv_dontneed undeclared

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r9792 r9819  
    102102            if( numRead == bytesThisPass )
    103103                SHA1_Update( &sha, buffer, numRead );
    104 #ifdef HAVE_POSIX_FADVISE
     104#if defined HAVE_POSIX_FADVISE && defined POSIX_FADV_DONTNEED
    105105            posix_fadvise( fd, filePos, bytesThisPass, POSIX_FADV_DONTNEED );
    106106#endif
Note: See TracChangeset for help on using the changeset viewer.