gallery/include/dprintf.h

16 lines
334 B
C

#ifndef _DPRINTF_H
#define _DPRINTF_H
/* DEBUGGING: Set -DEBUG in the CFLAGS to enable debugging */
#ifdef EBUG
# include <stdio.h>
# include <stdlib.h>
# define dprintf( x, y ... ) fprintf( stderr, x, y )
# define dputs( x ) fputs( x, stderr )
#else
# define dprintf( x, y ... ) /* x y */
# define dputs( x ) /* x */
#endif
#endif