Skip to content

Commit

Permalink
under MacOS...)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Feb 10, 2025
1 parent a4a053e commit 2237bd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/geogram/third_party/zlib/zconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
#endif

#if defined(__APPLE__)
#include <sys/types.h>
typedef off_t off64_t; /* On MacOS, file IO is 64 bits by default ! */
/* On MacOS, file IO is 64 bits by default ! */
#define off64_t off_t
#define lseek64 lseek
#endif

/*
Expand Down

0 comments on commit 2237bd6

Please sign in to comment.