Compilation fix for libslirp on mingw/msys.
Unlike the official release, the mingw* version of libslirp.h doesn't define slirp_ssize_t.
This commit is contained in:
parent
140e2e96ae
commit
e64ec27113
@ -36,6 +36,9 @@
|
||||
|
||||
#if BX_HAVE_LIBSLIRP
|
||||
#include <slirp/libslirp.h>
|
||||
#ifdef __MINGW32__
|
||||
typedef ssize_t slirp_ssize_t;
|
||||
#endif
|
||||
#else
|
||||
#include "slirp/libslirp.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user