MT#63151 make poller.h override more specific

Change-Id: I6ec6fdde8305615dc999021568a1277f22d3e075
pull/1987/head
Richard Fuchs 10 months ago
parent eda9cc5ded
commit e600a58502

@ -8,7 +8,11 @@
#include <stdarg.h>
#include <time.h>
#ifndef CUSTOM_POLLER
#include "poller.h"
#else
#include "custom_poller.h"
#endif
#include "auxlib.h"

@ -45,8 +45,10 @@ LDLIBS+= $(LDLIBS_LIBCURL)
CFLAGS+= $(CFLAGS_BCG729)
LDLIBS+= $(LDLIBS_BCG729)
CFLAGS+= -DCUSTOM_POLLER
SRCS= epoll.c garbage.c inotify.c main.c metafile.c stream.c recaux.c packet.c \
decoder.c output.c mix.c db.c log.c forward.c tag.c poller.c notify.c tls_send.c
decoder.c output.c mix.c db.c log.c forward.c tag.c custom_poller.c notify.c tls_send.c
LIBSRCS= loglib.c auxlib.c rtplib.c codeclib.strhash.c resample.c str.c socket.c streambuf.c ssllib.c \
dtmflib.c bufferpool.c bencode.c
LIBASM= mvr2s_x64_avx2.S mvr2s_x64_avx512.S mix_in_x64_avx2.S mix_in_x64_avx512bw.S mix_in_x64_sse2.S

@ -1,4 +1,4 @@
#include "poller.h"
#include "custom_poller.h"
void poller_blocked(struct poller *p, void *fdp) {
p->state = PS_WRITE_BLOCKED;

@ -13,7 +13,7 @@
#include <openssl/ssl.h>
#include "str.h"
#include "codeclib.h"
#include "poller.h"
#include "custom_poller.h"
#include "socket.h"
#include "containers.h"

Loading…
Cancel
Save