Skip to content

Commit

Permalink
Retry: fallback code for large geofiles for MacOS and Windows
Browse files Browse the repository at this point in the history
(seems that both don't know ssize_t)
  • Loading branch information
BrunoLevy committed Feb 9, 2025
1 parent 1f5dff0 commit 0fe7455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/geogram/basic/geofile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ namespace {

#else

typedef Numerc::int64 ssize_t;

ssize_t gzread64(gzFile file, void* buf_in, size_t len) {
geo_assert(len < size_t(MAX_GZ_IO_SIZE));
return ssize_t(gzread(file, buf_in, long(len)));
Expand Down

0 comments on commit 0fe7455

Please sign in to comment.