diff options
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r-- | libavcodec/dxva2.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h index 2639d89d90..be246d7198 100644 --- a/libavcodec/dxva2.h +++ b/libavcodec/dxva2.h @@ -29,11 +29,8 @@ * Public libavcodec DXVA2 header. */ -#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600 +#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600 #undef _WIN32_WINNT -#endif - -#if !defined(_WIN32_WINNT) #define _WIN32_WINNT 0x0600 #endif |