vlc | branch: master | Steve Lhomme <[email protected]> | Mon May 28 12:38:48 2018 +0200| [8090906e349fa5f4e8d03cc242839750681ca6fd] | committer: Steve Lhomme
direct3d11: force _WIN32_WINNT_WIN7 where it's actually needed > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8090906e349fa5f4e8d03cc242839750681ca6fd --- modules/video_output/win32/direct3d11.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c index c9d6d99871..3a88ea5706 100644 --- a/modules/video_output/win32/direct3d11.c +++ b/modules/video_output/win32/direct3d11.c @@ -21,11 +21,6 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#if !defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_WIN7 -# undef _WIN32_WINNT -# define _WIN32_WINNT _WIN32_WINNT_WIN7 -#endif - #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -37,6 +32,11 @@ #include <assert.h> #include <math.h> +#if !defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_WIN7 +# undef _WIN32_WINNT +# define _WIN32_WINNT _WIN32_WINNT_WIN7 +#endif + #define COBJMACROS #include <initguid.h> #include <d3d11.h> _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
