mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
last commit for --enable-timerfd-wrapper (autoheadache)
This commit is contained in:
@@ -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