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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Apr 10 00:18:23 EDT 2010


Author: matju
Date: Sat Apr 10 00:18:23 2010
New Revision: 5427

Log:
add back support for not compiling with libv4l1

Modified:
    trunk/src/videodev.cxx

Modified: trunk/src/videodev.cxx
==============================================================================
--- trunk/src/videodev.cxx (original)
+++ trunk/src/videodev.cxx Sat Apr 10 00:18:23 2010
@@ -39,7 +39,7 @@
 #include "pwc-ioctl.h"
 #include <sstream>
 
-#ifdef HAVE_LIBV4L1 // never defined (yet)
+#ifdef HAVE_LIBV4L1
 #include <libv4l1.h>
 //#define open   v4l1_open
 #define close  v4l1_close
@@ -50,6 +50,7 @@
 #warning Using libv4l1 !!!
 #else
 #warning NOT Using libv4l1 !!!
+#define v4l1_open(a,b) RAISE("this [#io.videodev] wasn't compiled with libv4l1 support")
 #endif
 
 //#define error post



More information about the Gridflow-cvs mailing list