diff options
author | Simonas Kazlauskas <git@kazlauskas.me> | 2020-06-20 20:04:15 +0300 |
---|---|---|
committer | Simonas Kazlauskas <git@kazlauskas.me> | 2020-06-20 20:44:55 +0300 |
commit | b03da81afa99913db177675c6936c8f8134b962f (patch) | |
tree | afbc2ff757d657a4ad6de73f37b936f2a547fab2 /update | |
parent | 5ccd62ced8e98715b670d0af7179195297c710b7 (diff) |
Fix build on macos
It was broken by a110b420111ce02825fffaec29d08b5cc7b2168a.
In addition, adjust the CI definition to test builds on macOS.
Diffstat (limited to 'update')
-rw-r--r-- | update/src/update.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |