[vlc-devel] [PATCH] direct3d11: fix compilation warning
Steve Lhomme
robux4 at videolabs.io
Thu Nov 30 10:20:14 CET 2017
---
modules/video_output/win32/direct3d11.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 3136294138..0ce3d8bd08 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -21,9 +21,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#if !defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_WIN7
+#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0601 /* _WIN32_WINNT_WIN7 */
# undef _WIN32_WINNT
-# define _WIN32_WINNT _WIN32_WINNT_WIN7
+# define _WIN32_WINNT 0x0601
#endif
#ifdef HAVE_CONFIG_H
--
2.14.2
More information about the vlc-devel
mailing list