Austin English : windowscodecs: Only declare jpeg debug channel if jpeg is supported.

Alexandre Julliard julliard at winehq.org
Mon Apr 11 13:29:29 CDT 2011


Module: wine
Branch: master
Commit: bceb274c94daacb9fef790490aa1dfa7069a7188
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bceb274c94daacb9fef790490aa1dfa7069a7188

Author: Austin English <austinenglish at gmail.com>
Date:   Sun Apr 10 15:41:04 2011 -0500

windowscodecs: Only declare jpeg debug channel if jpeg is supported.

---

 dlls/windowscodecs/jpegformat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list