captive_options module-loading generalized to be CORBA transportable
[reactos.git] / ntoskrnl / dbg / print.c
index eec9496..eba04e6 100644 (file)
@@ -57,7 +57,7 @@ __asm__ ("\n\t.global _DbgService\n\t"
  */
 
 #ifdef LIBCAPTIVE
-extern gboolean captive_debug_messages;
+extern gboolean captive_get_debug_messages(void);
 #endif /* LIBCAPTIVE */
 
 ULONG 
@@ -68,7 +68,7 @@ DbgPrint(PCH Format, ...)
    va_list ap;
 
 #ifdef LIBCAPTIVE
-   if (!captive_debug_messages)
+   if (!captive_get_debug_messages())
       return 0;
 #endif /* LIBCAPTIVE */