fixed "undefined cvCreateCameraCapture_V4L" linker errors on some linux distros ...
authorVadim Pisarevsky <no@email>
Mon, 2 Aug 2010 12:55:20 +0000 (12:55 +0000)
committerVadim Pisarevsky <no@email>
Mon, 2 Aug 2010 12:55:20 +0000 (12:55 +0000)
modules/highgui/src/cap_v4l.cpp

index fcec73d..f84c25e 100644 (file)
@@ -202,7 +202,7 @@ make & enjoy!
 
 #include "precomp.hpp"
 
-#if !defined WIN32 && defined HAVE_CAMV4L
+#if !defined WIN32 && (defined HAVE_CAMV4L || defined HAVE_CAMV4L2)
 
 #define CLEAR(x) memset (&(x), 0, sizeof (x))