Ignore:
Timestamp:
Aug 1, 2007, 12:40:49 AM (14 years ago)
Author:
charles
Message:

More Win32 portability changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2577 r2578  
    3333  #include <kernel/OS.h>
    3434  #define BEOS_MAX_THREADS 256
     35#elif defined(WIN32)
    3536#else
    3637  #include <pthread.h>
     
    128129        wait_for_thread( t->thread, &exit );
    129130#elif defined(WIN32)
    130         WaitForSingleObject(thread->handle, INFINITE);
     131        WaitForSingleObject( t->thread, INFINITE );
    131132        CloseHandle( t->thread );
    132133#else
     
    549550#endif
    550551
    551     tr_mkdir( buf );
     552    tr_mkdirp( buf, 0700 );
    552553    init = 1;
    553554
     
    583584#endif
    584585
    585     tr_mkdir( buf );
     586    tr_mkdirp( buf, 0700 );
    586587    init = 1;
    587588
     
    613614#endif
    614615
    615     tr_mkdir( buf );
     616    tr_mkdirp( buf, 0700 );
    616617    init = 1;
    617618    return buf;
Note: See TracChangeset for help on using the changeset viewer.