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/makemeta.c

    r10521 r10633  
    2727#include "bencode.h"
    2828#include "makemeta.h"
    29 #include "platform.h" /* threads, locks */
     29#include "platform.h" /* threads, locks, TR_PATH_MAX */
    3030#include "utils.h" /* buildpath */
    3131#include "version.h"
     
    316316    for( prev = pch = file->filename + topLen; ; ++pch )
    317317    {
    318         char buf[MAX_PATH_LENGTH];
     318        char buf[TR_MAX_PATH];
    319319
    320320        if( *pch && *pch != TR_PATH_DELIMITER )
Note: See TracChangeset for help on using the changeset viewer.