Ignore:
Timestamp:
May 6, 2010, 5:02:31 PM (12 years ago)
Author:
charles
Message:

re-tweak the previous commit based on feedback from kklimonda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.h

    r10633 r10634  
    2828#ifdef WIN32
    2929 #include <windows.h> /* MAX_PATH */
     30 #define TR_PATH_MAX MAX_PATH
    3031#else
    31  #include <limits.h> /* MAX_PATH */
    32 #endif
    33 #ifdef MAX_PATH
    34  #define TR_MAX_PATH MAX_PATH
    35 #else
    36  #define TR_MAX_PATH 4096
     32 #include <limits.h> /* PATH_MAX */
     33 #ifdef PATH_MAX
     34  #define TR_PATH_MAX PATH_MAX
     35 #else
     36  #define TR_PATH_MAX 4096
     37 #endif
    3738#endif
    3839
Note: See TracChangeset for help on using the changeset viewer.