diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-11-21 17:42:41 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-11-21 17:42:41 +0000 |
commit | a375b8f9fe89233b6771609f2f8826f2fe3f2ebb (patch) | |
tree | 205a996c554b073842ab96ceea8863bda39a0766 /src/VBox/Main/src-server/ClientWatcher.cpp | |
parent | b204768ded06240988c81a8f60013aa560110dca (diff) | |
download | VirtualBox-svn-a375b8f9fe89233b6771609f2f8826f2fe3f2ebb.tar.gz |
Main/ClientWatcher: Use sigabbrev_np() instead of strsignal(), so that the Validation Kit's vsheriff can detect this easier [build fix for glibc < 2.32].
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97639 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/src-server/ClientWatcher.cpp')
-rw-r--r-- | src/VBox/Main/src-server/ClientWatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Main/src-server/ClientWatcher.cpp b/src/VBox/Main/src-server/ClientWatcher.cpp index b80e5aba12e..d8c3e5be7cb 100644 --- a/src/VBox/Main/src-server/ClientWatcher.cpp +++ b/src/VBox/Main/src-server/ClientWatcher.cpp @@ -216,7 +216,7 @@ uint32_t VirtualBox::ClientWatcher::reapProcesses(void) #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) LogRel(("Reaper: Pid %d (%x) was signalled: (%d / %#x)\n", pid, pid, Status.iStatus, Status.iStatus)); #else /** @todo Move this to IPRT? */ -# if __GLIBC_PREREQ(2, 32) +# if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 32) const char *pszSig = sigabbrev_np(Status.iStatus); # else /* glibc < 2.32 */ const char *pszSig = strsignal(Status.iStatus); /* Not quite the same, but better than nothing. */ |