changeset 33668:c78784f20d0b

Fix compilation with --disable-qtx.
author reimar
date Tue, 28 Jun 2011 17:01:24 +0000
parents adb10970ec83
children e7ef5b755462
files loader/module.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/loader/module.c	Tue Jun 28 15:00:05 2011 +0000
+++ b/loader/module.c	Tue Jun 28 17:01:24 2011 +0000
@@ -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>