0013-define-WINVER.patch 415 B

12345678910111213141516
  1. diff --color -Naur src_old/libavcodec/mf_utils.c src/libavcodec/mf_utils.c
  2. --- src_old/libavcodec/mf_utils.c 2020-07-11 05:26:17.000000000 +0700
  3. +++ src/libavcodec/mf_utils.c 2020-11-13 12:55:57.226976400 +0700
  4. @@ -22,6 +22,11 @@
  5. #define _WIN32_WINNT 0x0602
  6. #endif
  7. +#if !defined(WINVER) || WINVER < 0x0602
  8. +#undef WINVER
  9. +#define WINVER 0x0602
  10. +#endif
  11. +
  12. #include "mf_utils.h"
  13. #include "libavutil/pixdesc.h"