[Gridflow-cvs] [svn] commit: r5428 - in /trunk/src: v4l2.cxx videodev.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Apr 10 00:30:25 EDT 2010


Author: matju
Date: Sat Apr 10 00:30:24 2010
New Revision: 5428

Log:
d'oh

Modified:
    trunk/src/v4l2.cxx
    trunk/src/videodev.cxx

Modified: trunk/src/v4l2.cxx
==============================================================================
--- trunk/src/v4l2.cxx (original)
+++ trunk/src/v4l2.cxx Sat Apr 10 00:30:24 2010
@@ -48,7 +48,7 @@
 #warning Using libv4l2 !!!
 #else
 #warning NOT Using libv4l2 !!!
-#define v4l2_open(a,b) RAISE("this [#io.v4l2] wasn't compiled with libv4l2 support")
+#define v4l2_open(a,b) (RAISE("this [#io.v4l2] wasn't compiled with libv4l2 support"),-1)
 #endif
 
 /* **************************************************************** */

Modified: trunk/src/videodev.cxx
==============================================================================
--- trunk/src/videodev.cxx (original)
+++ trunk/src/videodev.cxx Sat Apr 10 00:30:24 2010
@@ -50,7 +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")
+#define v4l1_open(a,b) (RAISE("this [#io.videodev] wasn't compiled with libv4l1 support"),-1)
 #endif
 
 //#define error post



More information about the Gridflow-cvs mailing list