summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-06-28 17:01:24 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 13:01:08 +0300
commitd68a606fd67de4b9342a72194de6440f998881ed (patch)
tree40544eb851abe93f430e5f86a0b3803d176ca66d /loader
parent860e66818b6f93d80f0e61763de21892c8596dc0 (diff)
downloadmpv-d68a606fd67de4b9342a72194de6440f998881ed.tar.bz2
mpv-d68a606fd67de4b9342a72194de6440f998881ed.tar.xz
loader/module.c: Fix compilation with --disable-qtx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33756 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/module.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/module.c b/loader/module.c
index 6182d4b190..78d46d5c15 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -8,17 +8,17 @@
*
*/
-// define for quicktime calls debugging and/or MacOS-level emulation:
-#ifndef __APPLE__
-#define EMU_QTX_API
-#endif /* __APPLE__ */
-
// define for quicktime debugging (verbose logging):
//#define DEBUG_QTX_API
#include "config.h"
#include "debug.h"
+// define for quicktime calls debugging and/or MacOS-level emulation:
+#if !defined(__APPLE__) && defined(CONFIG_QTX_CODECS)
+#define EMU_QTX_API
+#endif /* __APPLE__ */
+
#include <assert.h>
#include <errno.h>
#include <fcntl.h>