diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index a7b91bed73..49e7a3543e 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -991,10 +991,10 @@ add_dependencies(Telegram Updater) set(updater_sources PRIVATE - _other/updater.cpp - _other/updater.h + _other/updater_win.cpp _other/updater_linux.cpp _other/updater_osx.m + _other/updater.h ) nice_target_sources(Updater ${src_loc} "${updater_sources}") diff --git a/Telegram/SourceFiles/_other/updater.cpp b/Telegram/SourceFiles/_other/updater_win.cpp similarity index 100% rename from Telegram/SourceFiles/_other/updater.cpp rename to Telegram/SourceFiles/_other/updater_win.cpp diff --git a/Telegram/gyp/utils.gyp b/Telegram/gyp/utils.gyp index 7d5dafaba0..3669236f00 100644 --- a/Telegram/gyp/utils.gyp +++ b/Telegram/gyp/utils.gyp @@ -22,7 +22,7 @@ '<(src_loc)', ], 'sources': [ - '<(src_loc)/_other/updater.cpp', + '<(src_loc)/_other/updater_win.cpp', '<(src_loc)/_other/updater.h', '<(src_loc)/_other/updater_linux.cpp', '<(src_loc)/_other/updater_osx.m', @@ -49,7 +49,7 @@ }], [ '"<(build_win)" != "1"', { 'sources!': [ - '<(src_loc)/_other/updater.cpp', + '<(src_loc)/_other/updater_win.cpp', ], }], ],