Commit e920d1a6 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

qcap: Fix compilation on systems that have v4l1 but not VIDIOCMCAPTURE & co.

parent c3913adb
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(qcap_v4l); WINE_DEFAULT_DEBUG_CHANNEL(qcap_v4l);
#if defined(HAVE_LINUX_VIDEODEV_H) || defined(HAVE_LIBV4L1_H) #ifdef VIDIOCMCAPTURE
static typeof(open) *video_open = open; static typeof(open) *video_open = open;
static typeof(close) *video_close = close; static typeof(close) *video_close = close;
...@@ -973,4 +973,4 @@ HRESULT qcap_driver_stop(Capture *capBox, FILTER_STATE *state) ...@@ -973,4 +973,4 @@ HRESULT qcap_driver_stop(Capture *capBox, FILTER_STATE *state)
FAIL_WITH_ERR; FAIL_WITH_ERR;
} }
#endif /* HAVE_LINUX_VIDEODEV_H || HAVE_LINUX_LIBV4L1_H */ #endif /* defined(VIDIOCMCAPTURE) */
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