diff options
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/vfwcap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 60a5e8ef13..00fb48b516 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -27,6 +27,11 @@ #include <vfw.h> #include "avdevice.h" +/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */ +#ifndef HWND_MESSAGE +#define HWND_MESSAGE ((HWND) -3) +#endif + struct vfw_ctx { const AVClass *class; HWND hwnd; |