mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -05:00
rename signal -> sig
Meson puts the directory of the source file in the include path and then it picks up our signal.h instead of the system one...
This commit is contained in:
parent
497febf2f1
commit
3dada4731c
10 changed files with 13 additions and 18 deletions
|
|
@ -513,21 +513,17 @@ loop_add_signal (SpaLoopUtils *utils,
|
|||
{
|
||||
PinosLoopImpl *impl = SPA_CONTAINER_OF (utils, PinosLoopImpl, utils);
|
||||
SpaSourceImpl *source;
|
||||
#if 0
|
||||
sigset_t mask;
|
||||
#endif
|
||||
|
||||
source = calloc (1, sizeof (SpaSourceImpl));
|
||||
|
||||
source->source.loop = &impl->loop;
|
||||
source->source.func = source_signal_func;
|
||||
source->source.data = data;
|
||||
#if 0
|
||||
sigemptyset (&mask);
|
||||
sigaddset (&mask, signal_number);
|
||||
source->source.fd = signalfd (-1, &mask, SFD_CLOEXEC | SFD_NONBLOCK);
|
||||
sigprocmask (SIG_BLOCK, &mask, NULL);
|
||||
#endif
|
||||
source->source.mask = SPA_IO_IN;
|
||||
source->close = true;
|
||||
source->func.signal = func;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
|
||||
#include <spa/include/spa/list.h>
|
||||
#include <spa/include/spa/loop.h>
|
||||
#include <pinos/client/signal.h>
|
||||
#include <pinos/client/sig.h>
|
||||
|
||||
typedef struct _PinosLoop PinosLoop;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ typedef struct _PinosTransportArea PinosTransportArea;
|
|||
#include <spa/node.h>
|
||||
|
||||
#include <pinos/client/mem.h>
|
||||
#include <pinos/client/signal.h>
|
||||
#include <pinos/client/sig.h>
|
||||
|
||||
#define PINOS_TRANSPORT_CMD_NONE 0
|
||||
#define PINOS_TRANSPORT_CMD_NEED_DATA (1<<0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue