Skip to content

Commit

Permalink
Fix ssize_t absence on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMoroz committed Jan 23, 2024
1 parent a41c65f commit 2f2d86b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openvdb/openvdb/python/pyGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
#include <vector>
#include <variant>

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

namespace py = pybind11;

#ifdef __clang__
Expand Down

0 comments on commit 2f2d86b

Please sign in to comment.