fixed compile errors on Ubuntu 11.04

This commit is contained in:
Vadim Pisarevsky
2011-04-28 14:08:03 +00:00
parent 675aaea46f
commit 3d92d4c0bc
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
if (capture)
return capture;
#endif
#if defined (HAVE_CAMV4L) || defined (HAVE_CAMV4L2)
#if defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2)
capture = cvCreateCameraCapture_V4L (index);
if (capture)
return capture;