mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
sync joshe's changes with win32
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#elif defined(WIN32)
|
||||
#include <windows.h>
|
||||
#define wait_msecs(N) Sleep( (N) )
|
||||
#define wait_secs(N) Sleep( N) * 1000 )
|
||||
#define wait_secs(N) Sleep( (N) * 1000 )
|
||||
#else
|
||||
#define wait_msecs(N) usleep( (N) * 1000 )
|
||||
#define wait_secs(N) sleep( (N) )
|
||||
|
||||
@@ -24,11 +24,14 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <netdb.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
@@ -25,13 +25,16 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <netdb.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
Reference in New Issue
Block a user