~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.h

  • Committer: Monty Taylor
  • Date: 2008-10-02 20:26:34 UTC
  • Revision ID: monty@inaugust.com-20081002202634-xtkelyt9dpov91ml
Fixed stacktrace linking/building problem on OSX.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  char *my_demangle(const char *mangled_name, int *status);
32
32
#endif
33
33
 
 
34
#ifdef TARGET_OS_LINUX
34
35
#if defined(HAVE_STACKTRACE) || (defined (__x86_64__) || defined (__i386__) )
35
36
#undef HAVE_STACKTRACE
36
37
#define HAVE_STACKTRACE
43
44
  } while(0);
44
45
  void check_thread_lib(void);
45
46
#endif /* defined (__i386__) */
 
47
#endif /* defined HAVE_OS_LINUX */
46
48
 
47
49
#ifdef HAVE_STACKTRACE
48
50
  void print_stacktrace(uchar* stack_bottom, ulong thread_stack);