ack/util/led/debug.h

27 lines
539 B
C
Raw Permalink Normal View History

1987-03-09 19:15:41 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1994-06-24 11:31:16 +00:00
/* $Id$ */
1985-01-10 13:35:39 +00:00
#ifndef __DEBUG_H_INCLUDED__
#define __DEBUG_H_INCLUDED__
#include "error.h"
1985-01-10 13:35:39 +00:00
#ifdef NDEBUG
#define debug(s, a1, a2, a3, a4)
1985-01-10 13:35:39 +00:00
#else
extern int DEB;
1985-01-10 13:35:39 +00:00
#define debug(s, a1, a2, a3, a4) (DEB && do_debug(s, a1, a2, a3, a4))
1985-01-10 13:35:39 +00:00
#endif
1990-03-15 10:44:14 +00:00
extern int Verbose;
#define verbose(s, a1, a2, a3, a4) (Verbose && do_verbose(s, a1, a2, a3, a4))
#endif /* __DEBUG_H_INCLUDED__ */