mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Use real sched_getcpu() implementation on FreeBSD 14.
This commit is contained in:
parent
f434876a5c
commit
f70dd7fa0c
1 changed files with 3 additions and 0 deletions
|
|
@ -12,8 +12,11 @@
|
|||
#define MAX_VALUE 0x10000
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/param.h>
|
||||
#if __FreeBSD_version < 1400043
|
||||
static int sched_getcpu(void) { return -1; };
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static struct spa_ringbuffer rb;
|
||||
static uint32_t size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue