windowscodecs: only declare jpeg debug channel if jpeg is supported
Austin English
austinenglish at gmail.com
Sun Apr 10 15:41:04 CDT 2011
Found when compiling on a box without jpeg support.
--
-Austin
-------------- next part --------------
diff --git a/dlls/windowscodecs/jpegformat.c b/dlls/windowscodecs/jpegformat.c
index 789a60b..ab21fbf 100644
--- a/dlls/windowscodecs/jpegformat.c
+++ b/dlls/windowscodecs/jpegformat.c
@@ -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;
More information about the wine-patches
mailing list