Changeset 6905


Ignore:
Timestamp:
Oct 14, 2008, 8:31:16 PM (13 years ago)
Author:
charles
Message:

one more batch of changes from Spry

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r6897 r6905  
    378378}
    379379
     380#if !defined( WIN32 )
    380381#if !defined( HAVE_DAEMON )
    381382static int
     
    451452    return 0;
    452453}
    453 
     454#endif
    454455#endif
    455456
     
    485486    myConfigFilename = tr_buildPath( configDir, CONFIG_FILE, NULL );
    486487
     488#ifndef WIN32
    487489    if( !nofork )
    488490    {
     
    493495        }
    494496    }
     497#endif
    495498
    496499    session_init( configDir, downloadDir,
  • trunk/libtransmission/inout.c

    r6900 r6905  
    3737#ifdef WIN32
    3838 #define lseek _lseeki64
     39 #ifdef read
     40   #undef read
     41 #endif
    3942 #define read  _read
     43 #ifdef write
     44   #undef write
     45 #endif
    4046 #define write _write
    4147#endif
  • trunk/libtransmission/utils.c

    r6903 r6905  
    210210        evbuffer_add_printf( buf, " (%s:%d)\n", base, line );
    211211#ifdef WIN32
    212         OutputDebugString( EVBUFFER_DATA( buf );
     212        OutputDebugString( EVBUFFER_DATA( buf ) );
    213213        if(fp)
    214214#endif
  • trunk/libtransmission/verify.c

    r6896 r6905  
    1111 */
    1212
     13#include <unistd.h> /* S_ISREG */
    1314#include <sys/stat.h>
    1415
Note: See TracChangeset for help on using the changeset viewer.