Fixed config load for MSVC.

This commit is contained in:
XMRig
2017-08-17 06:43:32 +03:00
parent 9cb7d727c2
commit e3dd4a6581
5 changed files with 17 additions and 6 deletions

View File

@@ -19,10 +19,16 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#include "jansson.h"
#include "strbuffer.h"
#include "utf.h"