diff --git a/tz.cpp b/tz.cpp index b469a5a..a8ad942 100644 --- a/tz.cpp +++ b/tz.cpp @@ -201,6 +201,8 @@ get_download_folder() # else // !_WIN32 +# if !defined(INSTALL) || HAS_REMOTE_API + static std::string expand_path(std::string path) @@ -224,6 +226,8 @@ get_download_folder() return expand_path("~/Downloads"); } +# endif // !defined(INSTALL) || HAS_REMOTE_API + # endif // !_WIN32 #endif // !USE_OS_TZDB