Commit 1359abdd authored by Ian Craggs's avatar Ian Craggs

Fix Windows compile warnings

parent 7053c4b7
......@@ -13,9 +13,6 @@
* Contributors:
* Ian Craggs, Allan Stockdill-Mander - initial implementation
*******************************************************************************/
#include "MQTTClient.h"
#if !defined(SSLSOCKET_H)
#define SSLSOCKET_H
......
......@@ -24,12 +24,14 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#define MAXHOSTNAMELEN 256
#if !defined(SSLSOCKET_H)
#define EAGAIN WSAEWOULDBLOCK
#define EINTR WSAEINTR
#define EINPROGRESS WSAEINPROGRESS
#define EWOULDBLOCK WSAEWOULDBLOCK
#define ENOTCONN WSAENOTCONN
#define ECONNRESET WSAECONNRESET
#endif
#define ioctl ioctlsocket
#define socklen_t int
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment