[Gridflow-cvs] [svn] commit: r6721 - /trunk/src/videodev.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Mar 5 20:45:56 EST 2011


Author: matju
Date: Sat Mar  5 20:45:56 2011
New Revision: 6721

Log:
assume HAVE_LIBv4L1 all of the time

Modified:
    trunk/src/videodev.cxx

Modified: trunk/src/videodev.cxx
==============================================================================
--- trunk/src/videodev.cxx (original)
+++ trunk/src/videodev.cxx Sat Mar  5 20:45:56 2011
@@ -37,16 +37,12 @@
 #include "pwc-ioctl.h"
 #include <sstream>
 
-#ifdef HAVE_LIBV4L1
 #include <libv4l1.h>
 #define close  v4l1_close
 #define ioctl  v4l1_ioctl
 #define mmap   v4l1_mmap
 #define munmap v4l1_munmap
 #define read   v4l1_read
-#else
-#define v4l1_open(a,b) (RAISE("this [#io.videodev] wasn't compiled with libv4l1 support"),-1)
-#endif
 
 //#define error post
 static bool debug=0;



More information about the Gridflow-cvs mailing list