Commit ab56fabe authored by Diego Biurrun's avatar Diego Biurrun

vfwcap: Add fallback define for HWND_MESSAGE

Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.
parent 6ee1cb57
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
#include <windows.h> #include <windows.h>
#include <vfw.h> #include <vfw.h>
/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
#ifndef HWND_MESSAGE
#define HWND_MESSAGE ((HWND) -3)
#endif
struct vfw_ctx { struct vfw_ctx {
const AVClass *class; const AVClass *class;
HWND hwnd; HWND hwnd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment