mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
last commit for --enable-timerfd-wrapper (autoheadache)
This commit is contained in:
1 parent
ffeb7ba740
commit
25c725c292
2 files changed
+9
-5
No files matched your search
+6
-3
@@ -34,14 +34,17 @@
|
||||
#include <switch.h>
|
||||
#include <stdio.h>
|
||||
#include "private/switch_core_pvt.h"
|
||||
#ifdef HAVE_TIMERFD_CREATE
|
||||
#include <sys/timerfd.h>
|
||||
#endif
|
||||
|
||||
#ifdef TIMERFD_WRAP
|
||||
#include <timerfd_wrap.h>
|
||||
#ifndef HAVE_TIMERFD_CREATE
|
||||
#define HAVE_TIMERFD_CREATE
|
||||
#endif
|
||||
#else
|
||||
#ifdef HAVE_TIMERFD_CREATE
|
||||
#include <sys/timerfd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//#if defined(DARWIN)
|
||||
#define DISABLE_1MS_COND
|
||||
|
||||
Reference in new issue
Block a user