windowscodecs: Only declare jpeg debug channel if jpeg is supported.
authorAustin English <austinenglish@gmail.com>
Sun, 10 Apr 2011 20:41:04 +0000 (15:41 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 Apr 2011 10:22:59 +0000 (12:22 +0200)
dlls/windowscodecs/jpegformat.c

index 789a60b050f96c72eefdd2bca19a19e9a454bd14..ab21fbfbe00d3c824602b641842bd68fba386245 100644 (file)
@@ -55,9 +55,9 @@
 #include "wine/library.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
-WINE_DECLARE_DEBUG_CHANNEL(jpeg);
 
 #ifdef SONAME_LIBJPEG
+WINE_DECLARE_DEBUG_CHANNEL(jpeg);
 
 static void *libjpeg_handle;