Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
fadc03df
Commit
fadc03df
authored
Oct 13, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson.build: move macros to event/Features.h
parent
54ee0e28
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
10 deletions
+12
-10
meson.build
meson.build
+0
-7
CommandLine.cxx
src/CommandLine.cxx
+1
-0
MultiSocketMonitor.hxx
src/event/MultiSocketMonitor.hxx
+1
-0
PollGroup.hxx
src/event/PollGroup.hxx
+1
-1
SignalMonitor.cxx
src/event/SignalMonitor.cxx
+1
-1
SocketMonitor.cxx
src/event/SocketMonitor.cxx
+1
-0
WakeFD.hxx
src/event/WakeFD.hxx
+1
-1
meson.build
src/event/meson.build
+6
-0
No files found.
meson.build
View file @
fadc03df
...
...
@@ -169,13 +169,6 @@ conf.set('HAVE_STRCASESTR', compiler.has_function('strcasestr'))
conf.set('HAVE_PRCTL', is_linux)
conf.set('USE_EVENTFD', is_linux and get_option('eventfd'))
conf.set('USE_SIGNALFD', is_linux and get_option('signalfd'))
if is_linux and get_option('epoll')
conf.set('USE_EPOLL', true)
endif
if not get_option('syslog').disabled()
if compiler.has_function('syslog')
conf.set('HAVE_SYSLOG', true)
...
...
src/CommandLine.cxx
View file @
fadc03df
...
...
@@ -37,6 +37,7 @@
#include "fs/Traits.hxx"
#include "fs/FileSystem.hxx"
#include "fs/StandardDirectory.hxx"
#include "event/Features.h"
#include "io/uring/Features.h"
#include "util/Domain.hxx"
#include "util/OptionDef.hxx"
...
...
src/event/MultiSocketMonitor.hxx
View file @
fadc03df
...
...
@@ -23,6 +23,7 @@
#include "IdleMonitor.hxx"
#include "TimerEvent.hxx"
#include "SocketMonitor.hxx"
#include "event/Features.h"
#include <cassert>
#include <forward_list>
...
...
src/event/PollGroup.hxx
View file @
fadc03df
...
...
@@ -20,7 +20,7 @@
#ifndef MPD_EVENT_POLLGROUP_HXX
#define MPD_EVENT_POLLGROUP_HXX
#include "
config
.h"
#include "
event/Features
.h"
#ifdef _WIN32
...
...
src/event/SignalMonitor.cxx
View file @
fadc03df
...
...
@@ -18,7 +18,7 @@
*/
#include "SignalMonitor.hxx"
#include "
config
.h"
#include "
event/Features
.h"
#ifndef _WIN32
...
...
src/event/SocketMonitor.cxx
View file @
fadc03df
...
...
@@ -19,6 +19,7 @@
#include "SocketMonitor.hxx"
#include "Loop.hxx"
#include "event/Features.h"
#include <cassert>
#include <utility>
...
...
src/event/WakeFD.hxx
View file @
fadc03df
...
...
@@ -20,7 +20,7 @@
#ifndef MPD_WAKE_FD_HXX
#define MPD_WAKE_FD_HXX
#include "
config
.h"
#include "
event/Features
.h"
#ifdef USE_EVENTFD
#include "system/EventFD.hxx"
...
...
src/event/meson.build
View file @
fadc03df
event_features = configuration_data()
event_features.set('USE_EVENTFD', is_linux and get_option('eventfd'))
event_features.set('USE_SIGNALFD', is_linux and get_option('signalfd'))
event_features.set('USE_EPOLL', is_linux and get_option('epoll'))
configure_file(output: 'Features.h', configuration: event_features)
event_sources = []
if uring_dep.found()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment