mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
Fixed compile of libretroshare on Windows.
Cleaned some includes of openssl. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6769 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
34ea22d5f6
commit
72c7569619
16 changed files with 32 additions and 42 deletions
|
@ -44,15 +44,14 @@
|
|||
|
||||
#else
|
||||
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <stdio.h> /* for ssize_t */
|
||||
//typedef uint32_t socklen_t;
|
||||
#include <ws2tcpip.h>
|
||||
typedef uint32_t in_addr_t;
|
||||
|
||||
int inet_aton(const char *name, struct in_addr *addr);
|
||||
|
||||
// Missing defines in MinGW
|
||||
#define MSG_WAITALL 8
|
||||
|
||||
#endif
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue