mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
Code maintenance for Qt 5:
- Fixed compile with MinGW-w64 under Windows git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6866 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
764a6b31ca
commit
31fd6f6261
5 changed files with 22 additions and 7 deletions
|
@ -64,9 +64,14 @@ extern int errno; /* Define extern errno, to duplicate unix behaviour */
|
|||
* NB. we should make the same, but not necessary
|
||||
*/
|
||||
#define EAGAIN 11
|
||||
#define EWOULDBLOCK EAGAIN
|
||||
|
||||
#define EUSERS 87
|
||||
|
||||
#define EHOSTDOWN 112
|
||||
|
||||
#ifndef __MINGW64_VERSION_MAJOR
|
||||
#define EWOULDBLOCK EAGAIN
|
||||
|
||||
#define ENOTSOCK 88
|
||||
|
||||
#define EOPNOTSUPP 95
|
||||
|
@ -80,10 +85,10 @@ extern int errno; /* Define extern errno, to duplicate unix behaviour */
|
|||
|
||||
#define ETIMEDOUT 10060 // value from pthread.h
|
||||
#define ECONNREFUSED 111
|
||||
#define EHOSTDOWN 112
|
||||
#define EHOSTUNREACH 113
|
||||
#define EALREADY 114
|
||||
#define EINPROGRESS 115
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue