Skip to content

Commit 96f42d0

Browse files
committed
Added files via upload
Added source and binary files.
1 parent 417c83c commit 96f42d0

4 files changed

Lines changed: 1088 additions & 0 deletions

File tree

debug.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 */

0 commit comments

Comments
 (0)