mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
configure: Set WIN32_LEAN_AND_MEAN at configure time
Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause bzlib.h to parse as nonsense, due to an instance of #define char small in rpcndr.h. See: https://stackoverflow.com/a/27794577 Signed-off-by: L. E. Segovia <amy@amyspark.me> Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
c704901324
commit
ddc1cd5cdd
9 changed files with 5 additions and 11 deletions
|
|
@ -27,7 +27,6 @@
|
|||
#include "avdevice.h"
|
||||
|
||||
#define COBJMACROS
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#define NO_DSHOW_STRSAFE
|
||||
#include <dshow.h>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#if HAVE_WINDOWS_H
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if HAVE_OPENGL_GL3_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue