~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to pstack/pstacktrace.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

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