-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdebug.h
More file actions
51 lines (36 loc) · 829 Bytes
/
debug.h
File metadata and controls
51 lines (36 loc) · 829 Bytes
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/******************************************************************************
* debug.h
*
* Copyright ©1997-2015 by David R. Tribble, all rights reserved.
*/
#ifndef drt_debug_h
#define drt_debug_h 1
#ifdef __cplusplus
extern "C"
{
#endif
/* Identification */
#ifndef NO_H_IDENT
static const char drt_debug_h_id[] =
"@(#)drt/src/lib/debug.h $Revision: 1.4 $ $Date: 2001/11/12 06:00:00 $";
#endif
/*==============================================================================
* Debug macros
*/
#ifndef DEBUG
#define DEBUG 0
#endif
#if DEBUG-0 <= 0
#undef DEBUG
#define DEBUG 0
#endif
#if DEBUG
#define DL(e) (opt_debug ? (void)(e) : (void)0)
#else
#define DL(e) ((void)0)
#endif
#ifdef __cplusplus
}
#endif
#endif /* drt_debug_h */
/* End debug.h */