summaryrefslogtreecommitdiffstats
path: root/widget/windows/nsFilePicker.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 12:27:14 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 12:27:14 +0100
commit66248cfbcc35c313412983cd66024c0db847cbd1 (patch)
tree0ece279bd16fe33992162390972682fa3e3cb3ff /widget/windows/nsFilePicker.h
parentee70e3a3661748efbf713e3469e3ee33feae3978 (diff)
downloadUXP-66248cfbcc35c313412983cd66024c0db847cbd1.tar
UXP-66248cfbcc35c313412983cd66024c0db847cbd1.tar.gz
UXP-66248cfbcc35c313412983cd66024c0db847cbd1.tar.lz
UXP-66248cfbcc35c313412983cd66024c0db847cbd1.tar.xz
UXP-66248cfbcc35c313412983cd66024c0db847cbd1.zip
Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows.
Diffstat (limited to 'widget/windows/nsFilePicker.h')
-rw-r--r--widget/windows/nsFilePicker.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/widget/windows/nsFilePicker.h b/widget/windows/nsFilePicker.h
index 3d692b3d4..740f07a7d 100644
--- a/widget/windows/nsFilePicker.h
+++ b/widget/windows/nsFilePicker.h
@@ -9,17 +9,6 @@
#include <windows.h>
-// For Vista IFileDialog interfaces which aren't exposed
-// unless _WIN32_WINNT >= _WIN32_WINNT_LONGHORN.
-#if _WIN32_WINNT < _WIN32_WINNT_LONGHORN
-#define _WIN32_WINNT_bak _WIN32_WINNT
-#undef _WIN32_WINNT
-#define _WIN32_WINNT _WIN32_WINNT_LONGHORN
-#define _WIN32_IE_bak _WIN32_IE
-#undef _WIN32_IE
-#define _WIN32_IE _WIN32_IE_IE70
-#endif
-
#include "nsIFile.h"
#include "nsITimer.h"
#include "nsISimpleEnumerator.h"
@@ -141,11 +130,4 @@ protected:
DWORD mFDECookie;
};
-#if defined(_WIN32_WINNT_bak)
-#undef _WIN32_WINNT
-#define _WIN32_WINNT _WIN32_WINNT_bak
-#undef _WIN32_IE
-#define _WIN32_IE _WIN32_IE_bak
-#endif
-
#endif // nsFilePicker_h__