aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
committerMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
commitc3f6502be277ea7a9eb42babc4dc44ab2abf59e2 (patch)
tree1282ad28125722133058fb21846877454f139bc2 /src/Main.cxx
parent0120f396acadc56ef907e64a2ec40060e4ee5678 (diff)
parente5217e6ce97d4a0f972223f5eb6308e9b5e8df8f (diff)
downloadmpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.gz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.xz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.zip
Merge tag 'v0.19.3'
Diffstat (limited to '')
-rw-r--r--src/Main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 2719c05e0..26d4e7ae4 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -114,7 +114,7 @@
#include <ws2tcpip.h>
#endif
-#ifdef __APPLE__
+#ifdef __BLOCKS__
#include <dispatch/dispatch.h>
#endif
@@ -517,7 +517,7 @@ int mpd_main(int argc, char *argv[])
daemonize_begin(options.daemon);
#endif
-#ifdef __APPLE__
+#ifdef __BLOCKS__
/* Runs the OS X native event loop in the main thread, and runs
the rest of mpd_main on a new thread. This lets CoreAudio receive
route change notifications (e.g. plugging or unplugging headphones).