Changed the values of ETIMEDOUT to 10060 like in pthread.h to prevent compiler warnings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-08-04 11:27:16 +00:00
parent 43e9f65003
commit e69300ccdc
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ int bdnet_checkTTL(int fd);
#define ECONNRESET 104 #define ECONNRESET 104
#define ETIMEDOUT 110 #define ETIMEDOUT 10060 // value from pthread.h
#define ECONNREFUSED 111 #define ECONNREFUSED 111
#define EHOSTDOWN 112 #define EHOSTDOWN 112
#define EHOSTUNREACH 113 #define EHOSTUNREACH 113

View File

@ -80,7 +80,7 @@ extern int errno; /* Define extern errno, to duplicate unix behaviour */
#define ECONNRESET 104 #define ECONNRESET 104
#define ETIMEDOUT 110 #define ETIMEDOUT 10060 // value from pthread.h
#define ECONNREFUSED 111 #define ECONNREFUSED 111
#define EHOSTDOWN 112 #define EHOSTDOWN 112
#define EHOSTUNREACH 113 #define EHOSTUNREACH 113