From: Francois Gouget Date: Tue, 12 Apr 2011 17:39:40 +0000 (+0200) Subject: qcap: Ifdef-out code that is not used if V4L support is missing. X-Git-Tag: wine-1.3.18~30 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=6a48fcec48a0cb274884522e336b73606d21495f;p=wine%2Feterwine.git qcap: Ifdef-out code that is not used if V4L support is missing. --- diff --git a/dlls/qcap/yuv.c b/dlls/qcap/yuv.c index 5896ee54c9..608e571d1a 100644 --- a/dlls/qcap/yuv.c +++ b/dlls/qcap/yuv.c @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "config.h" #include #include "windef.h" @@ -30,6 +31,9 @@ #include "qcap_main.h" #include "wine/debug.h" +/* This is not used if V4L support is missing */ +#ifdef HAVE_LINUX_VIDEODEV_H + WINE_DEFAULT_DEBUG_CHANNEL(qcap); static int yuv_xy[256]; /* Gray value */ @@ -192,3 +196,4 @@ void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned } } } +#endif