mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
util: Fix getting the binary name for GNU/Hurd
This fixes the get-binary-name-test test Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/671>
This commit is contained in:
parent
ea20555378
commit
6e45a64478
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ char *pa_get_binary_name(char *s, size_t l) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__))
|
||||
#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || defined(__GNU__)
|
||||
{
|
||||
char *rp;
|
||||
/* This works on Linux and Debian/kFreeBSD */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue