From 86ba62a5637c2cfac38f223697fecdd09cc2bb73 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 27 Nov 2006 13:47:17 +0100 Subject: [PATCH] gphoto2.ds: Don't warn about libjpeg if gphoto support is not enabled. --- dlls/gphoto2.ds/gphoto2_i.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gphoto2.ds/gphoto2_i.h b/dlls/gphoto2.ds/gphoto2_i.h index 3e91d6c3747..bb2b6e35b13 100644 --- a/dlls/gphoto2.ds/gphoto2_i.h +++ b/dlls/gphoto2.ds/gphoto2_i.h @@ -24,7 +24,7 @@ # error You must include config.h first #endif -#if !defined(HAVE_JPEGLIB_H) +#if defined(HAVE_GPHOTO2) && !defined(HAVE_JPEGLIB_H) # warning "gphoto2 support in twain needs jpeg development headers" # undef HAVE_GPHOTO2 #endif