Skip to content

Commit

Permalink
Merge pull request #791 from mglisse/ssize_t
Browse files Browse the repository at this point in the history
workaround ssize_t in Hera also in Nerve_GIC
  • Loading branch information
VincentRouvreau authored Jan 31, 2023
2 parents 03ef585 + 5cfa41c commit 84c749d
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 84c749d

Please sign in to comment.