~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.h

MergedĀ fromĀ lee.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
extern "C" {
24
24
#endif
25
25
 
26
 
#if HAVE_BACKTRACE && HAVE_BACKTRACE_SYMBOLS && HAVE_CXXABI_H && HAVE_ABI_CXA_DEMANGLE
 
26
#if defined(HAVE_BACKTRACE) && HAVE_BACKTRACE_SYMBOLS && HAVE_CXXABI_H && HAVE_ABI_CXA_DEMANGLE
27
27
#define BACKTRACE_DEMANGLE 1
28
28
#endif
29
29
 
30
 
#if BACKTRACE_DEMANGLE
 
30
#if defined(BACKTRACE_DEMANGLE)
31
31
  char *my_demangle(const char *mangled_name, int *status);
32
32
#endif
33
33