Browse Source

vfwcap: Add fallback define for HWND_MESSAGE

Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.
tags/n2.4
Diego Biurrun 11 years ago
parent
commit
ab56fabe62
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavdevice/vfwcap.c

+ 5
- 0
libavdevice/vfwcap.c View File

@@ -27,6 +27,11 @@
#include <windows.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 {
const AVClass *class;
HWND hwnd;


Loading…
Cancel
Save