mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Winsock does not provide ssize_t; Use int instead.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <windows.h>
|
||||
|
||||
#define SHUT_RDWR SD_BOTH
|
||||
typedef int ssize_t;
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
Reference in New Issue
Block a user