0003-fix-windowsinclude.patch 306 B

1234567891011121314
  1. diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
  2. --- a/fftools/cmdutils.c
  3. +++ b/fftools/cmdutils.c
  4. @@ -51,6 +51,8 @@
  5. #include "fopen_utf8.h"
  6. #include "opt_common.h"
  7. #ifdef _WIN32
  8. +#define _WIN32_WINNT 0x0502
  9. +#define WIN32_LEAN_AND_MEAN
  10. #include <windows.h>
  11. #include "compat/w32dlfcn.h"
  12. #endif