mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Portability fix
This commit is contained in:
@ -218,7 +218,9 @@ void write_core(int sig)
|
|||||||
{
|
{
|
||||||
signal(sig, SIG_DFL);
|
signal(sig, SIG_DFL);
|
||||||
pthread_kill(pthread_self(), sig);
|
pthread_kill(pthread_self(), sig);
|
||||||
|
#if defined(P_PID) && defined(P_MYID)
|
||||||
/* On Solaris, the above kill is not enough */
|
/* On Solaris, the above kill is not enough */
|
||||||
sigsend(P_PID,P_MYID,sig);
|
sigsend(P_PID,P_MYID,sig);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user