summaryrefslogtreecommitdiff
path: root/sql/stacktrace.h
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2010-01-27 11:38:50 +0100
committerStaale Smedseng <staale.smedseng@sun.com>2010-01-27 11:38:50 +0100
commit694d50c71efc079c794fc81fb13d49ce5036ce36 (patch)
tree8b530b644f13308f7f4fff93158377458e56ff17 /sql/stacktrace.h
parent7fe315483c3d04775b2d8d8e491d056de156b634 (diff)
downloadmariadb-git-694d50c71efc079c794fc81fb13d49ce5036ce36.tar.gz
Bug#50409 Solaris 8 compatibility broken by assumption about
printstack() being present When Bug#47391 was fixed, no assumption was made that support for Solaris 8 was needed. Solaris 8 lacks printstack(), and the build breaks because of this. This patch adds a test for the presence of printstack() to configure.in for 5.0, and uses HAVE_PRINTSTACK to make decisions rather than the __sun define.
Diffstat (limited to 'sql/stacktrace.h')
-rw-r--r--sql/stacktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/stacktrace.h b/sql/stacktrace.h
index 718b545b775..1366a6cf996 100644
--- a/sql/stacktrace.h
+++ b/sql/stacktrace.h
@@ -35,7 +35,7 @@ void check_thread_lib(void);
#define HAVE_STACKTRACE
extern void set_exception_pointers(EXCEPTION_POINTERS *ep);
#define init_stacktrace() {}
-#elif defined(__sun)
+#elif defined(HAVE_PRINTSTACK)
#define HAVE_STACKTRACE
#define init_stacktrace() {}
#endif