~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to pstack/pstacktrace.h

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Header$ */
 
2
 
 
3
/*
 
4
 * Debugging macros.
 
5
 */
 
6
 
 
7
#ifndef pstacktrace_h_
 
8
#define pstacktrace_h_
 
9
 
 
10
#define PSTACK_DEBUG 1
 
11
#undef PSTACK_DEBUG
 
12
 
 
13
#ifdef PSTACK_DEBUG
 
14
#       define  TRACE_PUTC(a)           putc a
 
15
#       define  TRACE_FPUTS(a)          fputs a
 
16
#       define  TRACE_FPRINTF(a)        fprintf a
 
17
#else /* PSTACK_DEBUG */
 
18
#       define  TRACE_PUTC(a)           (void)0
 
19
#       define  TRACE_FPUTS(a)          (void)0
 
20
#       define  TRACE_FPRINTF(a)        (void)0
 
21
#endif /* !PSTACK_DEBUG */
 
22
 
 
23
#endif /* pstacktrace_h_ */
 
24