Skip to content

Commit

Permalink
Add ssize_t for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaivel committed May 27, 2024
1 parent 121f2e1 commit e64aa6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/network/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
static WSADATA wsaData;

#define MSG_NOSIGNAL 0

#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif

/*
Expand Down

0 comments on commit e64aa6d

Please sign in to comment.