Merge pull request #2722 from ts-korhonen/master
Fix windows clang+vcpkg build.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <string.h>
|
||||
#ifdef _WIN32
|
||||
# include <string.h>
|
||||
# include <sys/types.h>
|
||||
#else
|
||||
# include <libgen.h>
|
||||
#endif
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include <86box/nvr.h>
|
||||
// clang-format on
|
||||
|
||||
#ifndef S_ISDIR
|
||||
# define S_ISDIR(m) (((m) &S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
||||
#define VISO_SKIP(p, n) \
|
||||
{ \
|
||||
memset(p, 0x00, n); \
|
||||
|
@@ -76,6 +76,10 @@ extern "C" {
|
||||
# define atomic_bool_t atomic_bool
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# define ssize_t intptr_t
|
||||
#endif
|
||||
|
||||
/* Global variables residing in the platform module. */
|
||||
extern int dopause, /* system is paused */
|
||||
mouse_capture; /* mouse is captured in app */
|
||||
|
Reference in New Issue
Block a user