File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /******************************************************************************
2+ * debug.h
3+ *
4+ * Copyright ©1997-2015 by David R. Tribble, all rights reserved.
5+ */
6+
7+
8+ #ifndef drt_debug_h
9+ #define drt_debug_h 1
10+
11+ #ifdef __cplusplus
12+ extern "C"
13+ {
14+ #endif
15+
16+
17+ /* Identification */
18+
19+ #ifndef NO_H_IDENT
20+ static const char drt_debug_h_id [] =
21+ "@(#)drt/src/lib/debug.h $Revision: 1.4 $ $Date: 2001/11/12 06:00:00 $" ;
22+ #endif
23+
24+
25+ /*==============================================================================
26+ * Debug macros
27+ */
28+
29+ #ifndef DEBUG
30+ #define DEBUG 0
31+ #endif
32+
33+ #if DEBUG - 0 <= 0
34+ #undef DEBUG
35+ #define DEBUG 0
36+ #endif
37+
38+ #if DEBUG
39+ #define DL (e ) (opt_debug ? (void)(e) : (void)0)
40+ #else
41+ #define DL (e ) ((void)0)
42+ #endif
43+
44+
45+ #ifdef __cplusplus
46+ }
47+ #endif
48+
49+ #endif /* drt_debug_h */
50+
51+ /* End debug.h */
You can’t perform that action at this time.
0 commit comments