Build fix for Windows.

pull/932/head
Roger A. Light 7 years ago
parent 88765a5e80
commit 9d30625622

@ -21,6 +21,7 @@
# endif
# define strtok_r strtok_s
# define strerror_r(e, b, l) strerror_s(b, l, e)
typedef SSIZE_T ssize_t;
#endif

@ -20,7 +20,6 @@ Contributors:
#include <unistd.h>
#else
#include <winsock2.h>
typedef int ssize_t;
#endif
#include "mosquitto_internal.h"

Loading…
Cancel
Save