[vlc-commits] [Git][videolan/vlc][master] 2 commits: configure: drop _WIN32_IE define

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Jan 5 11:15:59 UTC 2023



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
fdbf5c77 by Steve Lhomme at 2023-01-05T10:22:50+00:00
configure: drop _WIN32_IE define

Any decent Windows SDK (and all mingw-w64 we support) will map the
_WIN32_IE value to the minimum OS selected. We build for Windows 7
which should use 0x0601 anyway.

- - - - -
b321e59e by Steve Lhomme at 2023-01-05T10:22:50+00:00
winvlc: remove useless _WIN32_IE value

It's restricting available code to Windows XP that we don't support.
The value should be the minimum OS we support. It's automatically
picked based on _WIN32_WINNT.

- - - - -


2 changed files:

- bin/winvlc.c
- configure.ac


Changes:

=====================================
bin/winvlc.c
=====================================
@@ -36,9 +36,6 @@
 #include <windows.h>
 #include <shellapi.h>
 
-#ifndef _WIN32_IE
-#  define  _WIN32_IE 0x501
-#endif
 #include <fcntl.h>
 #include <io.h>
 #include <shlobj.h>


=====================================
configure.ac
=====================================
@@ -292,7 +292,6 @@ int foo() { return my_array[0]; }
       AC_MSG_RESULT([yes])
       VLC_ADD_LIBS([libvlccore], [-lsynchronization])
     ])
-    AC_DEFINE([_WIN32_IE], [0x0600], [Define to '0x0600' for IE 6.0 (and shell) APIs.])
     AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
     AC_DEFINE([_ISOC99_SOURCE], [1], [Extensions to ISO C89 from ISO C99.])
     AC_DEFINE([_ISOC11_SOURCE], [1], [Extensions to ISO C99 from ISO C11.])



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/3c9e8c2005f0f5d3810dde925a03d5d3038e8d15...b321e59e016d376a8387cf5131e19e94f978db7e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/3c9e8c2005f0f5d3810dde925a03d5d3038e8d15...b321e59e016d376a8387cf5131e19e94f978db7e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list