Skip to content

Commit

Permalink
Attempt to fix lack of ssize_t in MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
myronahn committed Apr 6, 2020
1 parent 3a861bc commit 15b5b10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/cxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 9,11 @@
#include <type_traits>
#include <utility>

#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif

namespace rust {
inline namespace cxxbridge02 {

Expand Down

0 comments on commit 15b5b10

Please sign in to comment.