Skip to content

Commit

Permalink
Fix for 32 bit node on windows (#22)
Browse files Browse the repository at this point in the history
* fixing build for windows

* fallback for try_send on older versions of node

* adding special callback just for WIN32 support

* fix for 32 bit node on windows
  • Loading branch information
goldbuick authored and mafintosh committed Oct 19, 2017
1 parent 9cfd5fb commit 3ce71f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/libutp/utp_types.h
Expand Up @@ -64,8 +64,10 @@
#endif
#endif

#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
#include <BaseTsd.h>
#define _SSIZE_T_
#define _SSIZE_T_DEFINED
typedef SSIZE_T ssize_t;
#endif

Expand Down

0 comments on commit 3ce71f1

Please sign in to comment.