Ignore:
Timestamp:
May 6, 2010, 3:07:18 PM (11 years ago)
Author:
charles
Message:

(trunk libT) tweak MAX_PATH_LENGTH a little for better portability -- defer to limits.h's definition when present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r10336 r10633  
    6868#include "fdlimit.h"
    6969#include "net.h"
    70 #include "platform.h" /* MAX_PATH_LENGTH, TR_PATH_DELIMITER */
     70#include "platform.h" /* TR_MAX_PATH, TR_PATH_DELIMITER */
    7171#include "session.h"
    7272#include "torrent.h" /* tr_isTorrent() */
     
    8888    int              torrentId;
    8989    tr_file_index_t  fileNum;
    90     char             filename[MAX_PATH_LENGTH];
     90    char             filename[TR_MAX_PATH];
    9191    int              fd;
    9292    uint64_t         date;
Note: See TracChangeset for help on using the changeset viewer.