From eee0b2b23a65541f50398da258f84739728580ff Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 3 Jan 2020 02:43:49 +0300 Subject: [PATCH] Fix preprocessor directive. GitOrigin-RevId: f473450b6ee28537cb66226ab46745d63d066541 --- tdutils/td/utils/port/FileFd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdutils/td/utils/port/FileFd.cpp b/tdutils/td/utils/port/FileFd.cpp index df55b90a..ad8bc6fb 100644 --- a/tdutils/td/utils/port/FileFd.cpp +++ b/tdutils/td/utils/port/FileFd.cpp @@ -512,7 +512,7 @@ Result get_file_size(const FileFd &file_fd) { Result FileFd::get_size() const { #if TD_PORT_POSIX TRY_RESULT(s, stat()); -#else if TD_PORT_WINDOWS +#elif TD_PORT_WINDOWS TRY_RESULT(s, get_file_size(*this)); #endif return s.size_; @@ -521,7 +521,7 @@ Result FileFd::get_size() const { Result FileFd::get_real_size() const { #if TD_PORT_POSIX TRY_RESULT(s, stat()); -#else if TD_PORT_WINDOWS +#elif TD_PORT_WINDOWS TRY_RESULT(s, get_file_size(*this)); #endif return s.real_size_;