From b03da81afa99913db177675c6936c8f8134b962f Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Sat, 20 Jun 2020 20:04:15 +0300 Subject: Fix build on macos It was broken by a110b420111ce02825fffaec29d08b5cc7b2168a. In addition, adjust the CI definition to test builds on macOS. --- update/src/update.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'update') diff --git a/update/src/update.cpp b/update/src/update.cpp index 26d1968f..66cbb442 100644 --- a/update/src/update.cpp +++ b/update/src/update.cpp @@ -16,6 +16,8 @@ #ifdef __CYGWIN__ # define ftello64(x) ftello(x) +#elif defined __APPLE__ +# define ftello64(x) ftello(x) #elif defined _WIN32 # define ftello64(x) _ftelli64(x) #endif -- cgit v1.2.3