Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r--libavcodec/dxva2.h5
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