From 9bd51af48d26703bd95ab4f0db6532a497c104c1 Mon Sep 17 00:00:00 2001 From: DavZim Date: Sun, 25 Aug 2024 11:54:34 +0200 Subject: [PATCH] fix apple --- src/count_messages.cpp | 1 + src/filter_itch.cpp | 1 + src/read_functions.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/count_messages.cpp b/src/count_messages.cpp index 8fa2970..ac01b79 100644 --- a/src/count_messages.cpp +++ b/src/count_messages.cpp @@ -2,6 +2,7 @@ #ifdef __APPLE__ # define fseeko64 fseeko +# define ftello64 ftello #endif // counts messages in a file diff --git a/src/filter_itch.cpp b/src/filter_itch.cpp index 8817430..17a20f8 100644 --- a/src/filter_itch.cpp +++ b/src/filter_itch.cpp @@ -2,6 +2,7 @@ #ifdef __APPLE__ # define fseeko64 fseeko +# define ftello64 ftello #endif // [[Rcpp::export]] diff --git a/src/read_functions.cpp b/src/read_functions.cpp index 9823b51..bdd8b59 100644 --- a/src/read_functions.cpp +++ b/src/read_functions.cpp @@ -2,6 +2,7 @@ #ifdef __APPLE__ # define fseeko64 fseeko +# define ftello64 ftello #endif // [[Rcpp::export]]