summaryrefslogtreecommitdiffstats
path: root/widget/windows/TaskbarPreview.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 09:58:44 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 09:58:44 +0100
commit85edb1c711f7816ed1a30edd07b37d314fac216a (patch)
tree814487cc06993dd6e133ab4b23e5bc16b6cb5e2d /widget/windows/TaskbarPreview.cpp
parentbc9ad467f0886f8799c2c4781b1a0b654b362ecf (diff)
downloadUXP-85edb1c711f7816ed1a30edd07b37d314fac216a.tar
UXP-85edb1c711f7816ed1a30edd07b37d314fac216a.tar.gz
UXP-85edb1c711f7816ed1a30edd07b37d314fac216a.tar.lz
UXP-85edb1c711f7816ed1a30edd07b37d314fac216a.tar.xz
UXP-85edb1c711f7816ed1a30edd07b37d314fac216a.zip
Make the proper Windows APIs natively available to our tree.
Tag #22. This bypasses custom definitions of some functions for things natively available in Windows 7.
Diffstat (limited to 'widget/windows/TaskbarPreview.cpp')
-rw-r--r--widget/windows/TaskbarPreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/windows/TaskbarPreview.cpp b/widget/windows/TaskbarPreview.cpp
index c897af021..6c15df2e0 100644
--- a/widget/windows/TaskbarPreview.cpp
+++ b/widget/windows/TaskbarPreview.cpp
@@ -28,7 +28,9 @@
#include "mozilla/Telemetry.h"
// Defined in dwmapi in a header that needs a higher numbered _WINNT #define
+#ifndef DWM_SIT_DISPLAYFRAME
#define DWM_SIT_DISPLAYFRAME 0x1
+#endif
namespace mozilla {
namespace widget {