File: debug.h

package info (click to toggle)
htmldoc 1.7-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,472 kB
  • ctags: 657
  • sloc: cpp: 10,107; makefile: 80
file content (33 lines) | stat: -rw-r--r-- 681 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * "$Id: debug.h,v 1.7 1999/01/04 17:45:23 mike Exp $"
 *
 *   Debugging macros for HTMLDOC, a HTML document processing program.
 *
 *   Copyright 1997-1999 by Michael Sweet.
 *
 *   HTMLDOC is distributed under the terms of the GNU General Public License
 *   which is described in the file "COPYING-2.0".
 */

#ifndef _DEBUG_H_
#  define _DEBUG_H_

/*
 * Include necessary headers.
 */

#  include <stdio.h>

#  ifdef DEBUG
#    define DEBUG_printf(x) printf x
#    define DEBUG_puts(x)   puts(x)
#  else
#    define DEBUG_printf(x)
#    define DEBUG_puts(x)
#  endif /* DEBUG */

#endif /* !_DEBUG_H_ */

/*
 * End of "$Id: debug.h,v 1.7 1999/01/04 17:45:23 mike Exp $".
 */