~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to pstack/pstacktrace.h

  • Committer: Brian Aker
  • Date: 2008-06-28 06:45:02 UTC
  • Revision ID: brian@tangent.org-20080628064502-x35n8579qt8xzqwg
Pstack removal. Cleanup around final my_pthread.c removal.

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