summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/debug.h
blob: b8c6e12c71359742fc1460ea2f2774ad5e7d85c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 
 * Here's some stuff for debugging dvips.
 */

#ifdef DEBUG

#define dd(darg)	((darg)&debug_flag)

#define D_SPECIAL		(1<<0)
#define D_PATHS			(1<<1)
#define D_FONTS			(1<<2)
#define D_PAGE			(1<<3)
#define D_HEADER                (1<<4)
#define D_COMPRESS              (1<<5)
#define D_FILES			(1<<6)
#define D_MEM                   (1<<7)
#define D_CONFIG                (1<<8)

#ifndef KPATHSEA
#define fopen my_real_fopen
extern FILE *my_real_fopen() ;
#endif
#endif /* DEBUG */