Changeset 10814 for trunk/libtransmission/platform.c
- Timestamp:
- Jun 21, 2010, 4:44:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/platform.c
r10736 r10814 12 12 13 13 #ifdef WIN32 14 #include <w32api.h> 15 #define WINVER WindowsXP 14 16 #include <windows.h> 15 17 #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_MYDOCUMENTS */ … … 437 439 appname, NULL ); 438 440 #elif defined( WIN32 ) 439 char appdata[TR_ MAX_PATH]; /* SHGetFolderPath() requires MAX_PATH */441 char appdata[TR_PATH_MAX]; /* SHGetFolderPath() requires MAX_PATH */ 440 442 SHGetFolderPath( NULL, CSIDL_APPDATA, NULL, 0, appdata ); 441 443 s = tr_buildPath( appdata, appname, NULL );
Note: See TracChangeset
for help on using the changeset viewer.