Changeset 6892 for trunk/libtransmission/platform.c
- Timestamp:
- Oct 13, 2008, 10:26:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/platform.c
r6861 r6892 19 19 #elif defined( WIN32 ) 20 20 #include <windows.h> 21 #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_ PROFILE*/21 #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_MYDOCUMENTS */ 22 22 #else 23 23 #ifdef SYS_DARWIN … … 39 39 #include <sys/stat.h> 40 40 #include <sys/types.h> 41 #ifdef WIN32 42 #include <libgen.h> 43 #endif 41 44 #include <dirent.h> 42 45 #include <fcntl.h> … … 268 271 { 269 272 #ifdef WIN32 270 SHGetFolderPath( NULL, CSIDL_ PROFILE, NULL, 0, home );273 SHGetFolderPath( NULL, CSIDL_MYDOCUMENTS, NULL, 0, home ); 271 274 #elif defined( __BEOS__ ) || defined( __AMIGAOS4__ ) 272 275 home = tr_strdup( "" ); … … 421 424 } 422 425 423 #if def SYS_DARWIN426 #if defined(SYS_DARWIN) || defined(WIN32) 424 427 #define RESUME_SUBDIR "Resume" 425 428 #define TORRENT_SUBDIR "Torrents"
Note: See TracChangeset
for help on using the changeset viewer.