Skip to content

Commit

Permalink
Fix "small" undef in Windows includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 14, 2023
1 parent 8a19fab commit 5cabfb5
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 14 deletions.
3 changes: 1 addition & 2 deletions Telegram/SourceFiles/platform/win/integration_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ For license and copyright information please follow this link:
*/
#pragma once

#include "base/platform/win/base_windows_shlobj_h.h"
#include "base/platform/win/base_windows_winrt.h"
#include "platform/platform_integration.h"

#include <QAbstractNativeEventFilter>

#include <ShlObj.h>

namespace Platform {

class WindowsIntegration final
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/platform/win/launcher_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For license and copyright information please follow this link:

#include "core/crash_reports.h"
#include "core/update_checker.h"
#include "base/platform/win/base_windows_h.h"

#include <windows.h>
#include <shellapi.h>
#include <VersionHelpers.h>

Expand Down
3 changes: 2 additions & 1 deletion Telegram/SourceFiles/platform/win/main_window_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ For license and copyright information please follow this link:
#pragma once

#include "platform/platform_main_window.h"
#include "base/platform/win/base_windows_h.h"
#include "base/flags.h"

#include <windows.h>

namespace Ui {
class PopupMenu;
} // namespace Ui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ For license and copyright information please follow this link:
#include "window/notifications_utilities.h"
#include "window/window_session_controller.h"
#include "base/platform/win/base_windows_co_task_mem.h"
#include "base/platform/win/base_windows_rpcndr_h.h"
#include "base/platform/win/base_windows_winrt.h"
#include "base/platform/base_platform_info.h"
#include "base/platform/win/wrl/wrl_module_h.h"
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/platform/win/specific_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ For license and copyright information please follow this link:
#include "platform/win/windows_autostart_task.h"
#include "base/platform/base_platform_info.h"
#include "base/platform/win/base_windows_co_task_mem.h"
#include "base/platform/win/base_windows_shlobj_h.h"
#include "base/platform/win/base_windows_winrt.h"
#include "base/call_delayed.h"
#include "ui/boxes/confirm_box.h"
Expand Down Expand Up @@ -41,7 +42,6 @@ For license and copyright information please follow this link:
#include <openssl/err.h>

#include <dbghelp.h>
#include <shlobj.h>
#include <Shlwapi.h>
#include <Strsafe.h>
#include <Windowsx.h>
Expand Down
3 changes: 2 additions & 1 deletion Telegram/SourceFiles/platform/win/specific_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ For license and copyright information please follow this link:
#pragma once

#include "platform/platform_specific.h"
#include "base/platform/win/base_windows_h.h"

#include <windows.h>

namespace Data {
class LocationPoint;
Expand Down
2 changes: 0 additions & 2 deletions Telegram/SourceFiles/platform/win/windows_app_user_model_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ For license and copyright information please follow this link:
*/
#pragma once

#include "base/platform/win/base_windows_h.h"

#include <wtypes.h>

namespace Platform {
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/platform/win/windows_dlls.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ For license and copyright information please follow this link:
*/
#pragma once

#include "base/platform/win/base_windows_h.h"
#include "base/platform/win/base_windows_shlobj_h.h"

#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
#include <dwmapi.h>
#include <RestartManager.h>
#include <psapi.h>
Expand Down
2 changes: 2 additions & 0 deletions Telegram/SourceFiles/platform/win/windows_toast_activator.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ For license and copyright information please follow this link:
*/
#pragma once

#include "base/platform/win/base_windows_rpcndr_h.h"
#include "windows_toastactivator_h.h"

#include "base/platform/win/wrl/wrl_implements_h.h"

// {F11932D3-6110-4BBC-9B02-B2EC07A1BD19}
Expand Down
2 changes: 1 addition & 1 deletion Telegram/lib_storage
2 changes: 1 addition & 1 deletion Telegram/lib_webview

0 comments on commit 5cabfb5

Please sign in to comment.