Home | History | Annotate | Download | only in user_space
      1 /*
      2  * v4l-test: Test environment for Video For Linux Two API
      3  *
      4  *  1 Jan 2008  0.2  Include stdio.h if needed;
      5  *                   dprintf1() added
      6  * 18 Dec 2008  0.1  First release
      7  *
      8  * Written by Mrton Nmeth <nm127 (at) freemail.hu>
      9  * Released under GPL
     10  */
     11 
     12 //#define DEBUG 1
     13 
     14 #ifdef DEBUG
     15 #include <stdio.h>
     16 #define dprintf1(fmt)	printf(fmt)
     17 #define dprintf(fmt, ...)	printf(fmt, __VA_ARGS__)
     18 #else
     19 #define dprintf1(fmt)
     20 #define dprintf(fmt, ...)
     21 #endif
     22