Skip to content

Commit

Permalink
workaround ssize_t in Hera also in Nerve_GIC
Browse files Browse the repository at this point in the history
  • Loading branch information
mglisse committed Jan 13, 2023
1 parent 533efd5 commit 5cfa41c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Nerve_GIC/include/gudhi/GIC.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
# include <gudhi/Bottleneck.h>
#elif __has_include(<hera/bottleneck.h>)
# define GUDHI_GIC_USE_HERA 1
# ifdef _MSC_VER
// https://github.com/grey-narn/hera/issues/3
// ssize_t is a non-standard type (well, posix)
# include <type_traits>
# include <cstdlib>
using ssize_t = std::make_signed_t<std::size_t>;
# endif
# include <hera/bottleneck.h>
#endif

Expand Down

0 comments on commit 5cfa41c

Please sign in to comment.