Skip to content

Commit

Permalink
Bug 1852806 - Remove macros for older Windows SDK from widget/windows…
Browse files Browse the repository at this point in the history
…/. r=handyman

Depends on D188031

Differential Revision: https://phabricator.services.mozilla.com/D188032

UltraBlame original commit: 4db93c374f9bd3416f4d8f01b175d4c93636e8bd
  • Loading branch information
marco-c committed Sep 15, 2023
1 parent 44b56ed commit 72e8372
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 1,145 deletions.
54 changes: 0 additions & 54 deletions widget/windows/DirectManipulationOwner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,60 +157,6 @@ VsyncDispatcher
.
h
"
/
/
Direct
Manipulation
is
only
defined
for
Win8
and
newer
.
#
if
defined
(
_WIN32_WINNT
)
#
undef
_WIN32_WINNT
#
define
_WIN32_WINNT
_WIN32_WINNT_WIN8
#
endif
/
/
defined
(
_WIN32_WINNT
)
#
if
defined
(
NTDDI_VERSION
)
#
undef
NTDDI_VERSION
#
define
NTDDI_VERSION
NTDDI_WIN8
#
endif
/
/
defined
(
NTDDI_VERSION
)
#
include
"
Expand Down
7 changes: 0 additions & 7 deletions widget/windows/JumpListBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ windows
.
h
>
#
undef
NTDDI_VERSION
#
define
NTDDI_VERSION
NTDDI_WIN7
/
/
Needed
Expand Down
26 changes: 0 additions & 26 deletions widget/windows/KeyboardLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,32 +317,6 @@ h
endif
/
/
In
WinUser
.
h
MAPVK_VK_TO_VSC_EX
is
defined
only
when
WINVER
>
=
0x0600
#
ifndef
MAPVK_VK_TO_VSC_EX
#
define
MAPVK_VK_TO_VSC_EX
(
4
)
#
endif
/
/
For
collecting
other
Expand Down
11 changes: 0 additions & 11 deletions widget/windows/WinCompositorWindowThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,6 @@ StaticPrefs_apz
.
h
"
#
if
WINVER
<
0x0602
#
define
WS_EX_NOREDIRECTIONBITMAP
0x00200000L
#
endif
namespace
mozilla
{
Expand Down
34 changes: 0 additions & 34 deletions widget/windows/WinHeaderOnlyUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,40 +328,6 @@ elsewhere
/
#
if
_WIN32_WINNT
<
_WIN32_WINNT_WIN8
typedef
struct
_FILE_ID_INFO
{
ULONGLONG
VolumeSerialNumber
;
FILE_ID_128
FileId
;
}
FILE_ID_INFO
;
#
define
FileIdInfo
(
(
FILE_INFO_BY_HANDLE_CLASS
)
18
)
#
endif
/
/
_WIN32_WINNT
<
_WIN32_WINNT_WIN8
#
if
!
defined
(
Expand Down
Loading

0 comments on commit 72e8372

Please sign in to comment.