From fe1aacd37ba20310002c38a42d228ba72cdf5f72 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Mon, 25 Nov 2019 18:34:02 +0300
Subject: [PATCH] Rename update.cpp to updater_win.cpp.

---
 Telegram/CMakeLists.txt                                      | 4 ++--
 Telegram/SourceFiles/_other/{updater.cpp => updater_win.cpp} | 0
 Telegram/gyp/utils.gyp                                       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename Telegram/SourceFiles/_other/{updater.cpp => updater_win.cpp} (100%)

diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
index a7b91bed7..49e7a3543 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 7d5dafaba..3669236f0 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',
         ],
       }],
     ],