fixed compile errors on Ubuntu 11.04
This commit is contained in:
parent
675aaea46f
commit
3d92d4c0bc
@ -173,7 +173,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
|
|||||||
if (capture)
|
if (capture)
|
||||||
return capture;
|
return capture;
|
||||||
#endif
|
#endif
|
||||||
#if defined (HAVE_CAMV4L) || defined (HAVE_CAMV4L2)
|
#if defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2)
|
||||||
capture = cvCreateCameraCapture_V4L (index);
|
capture = cvCreateCameraCapture_V4L (index);
|
||||||
if (capture)
|
if (capture)
|
||||||
return capture;
|
return capture;
|
||||||
|
@ -202,7 +202,7 @@ make & enjoy!
|
|||||||
|
|
||||||
#include "precomp.hpp"
|
#include "precomp.hpp"
|
||||||
|
|
||||||
#if !defined WIN32 && (defined HAVE_CAMV4L || defined HAVE_CAMV4L2)
|
#if !defined WIN32 && defined HAVE_CAMV4L && defined HAVE_CAMV4L2
|
||||||
|
|
||||||
#define CLEAR(x) memset (&(x), 0, sizeof (x))
|
#define CLEAR(x) memset (&(x), 0, sizeof (x))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user