mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 02:25:35 +00:00
Fixes for MSVC build
This commit is contained in:
parent
2ed2e9c3e8
commit
c0b14cfea7
2 changed files with 7 additions and 2 deletions
|
@ -28,14 +28,13 @@
|
|||
#include <sys/wait.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
#include "libs/json11/json11.hpp"
|
||||
#include "libs/sha1/sha1.h"
|
||||
#include "kernel/yosys.h"
|
||||
|
||||
extern char **environ;
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
@ -238,6 +237,11 @@ struct RpcModule : RTLIL::Module {
|
|||
|
||||
#if defined(_WIN32)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
|
||||
struct HandleRpcServer : RpcServer {
|
||||
HANDLE hsend, hrecv;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue