Build fix for Windows.

This commit is contained in:
Roger A. Light 2018-08-16 11:16:16 +01:00
parent 88765a5e80
commit 9d30625622
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,9 @@
# ifndef strcasecmp
# define strcasecmp strcmpi
# endif
#define strtok_r strtok_s
#define strerror_r(e, b, l) strerror_s(b, l, e)
# define strtok_r strtok_s
# define strerror_r(e, b, l) strerror_s(b, l, e)
typedef SSIZE_T ssize_t;
#endif

View File

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