diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-22 13:07:55 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-22 13:07:55 +0200 |
commit | e0d3ed73a10f7e5a0d193b93fd77bfdb3f611c92 (patch) | |
tree | ce799139dde20eb4d6ca7089a36960c98a554bc0 /sql | |
parent | 00d5ed8acdbab2c99a95d0deb8a786761a1b0533 (diff) | |
download | mariadb-git-e0d3ed73a10f7e5a0d193b93fd77bfdb3f611c92.tar.gz |
Portability fix
Diffstat (limited to 'sql')
-rw-r--r-- | sql/stacktrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/stacktrace.c b/sql/stacktrace.c index 18db1949db9..ef4d2f97b90 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -218,7 +218,9 @@ void write_core(int sig) { signal(sig, SIG_DFL); pthread_kill(pthread_self(), sig); +#if defined(P_PID) && defined(P_MYID) /* On Solaris, the above kill is not enough */ sigsend(P_PID,P_MYID,sig); +#endif } #endif |