commit | 86ba62a5637c2cfac38f223697fecdd09cc2bb73 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Mon Nov 27 13:47:17 2006 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Nov 27 13:47:17 2006 +0100 |
tree | 9904ea7eb9a73c0fc261b3eff7dcd7dada5984bd | |
parent | 57ff710cde876b58c302b9463109e1bbe76ea1c0 [diff] |
gphoto2.ds: Don't warn about libjpeg if gphoto support is not enabled.
diff --git a/dlls/gphoto2.ds/gphoto2_i.h b/dlls/gphoto2.ds/gphoto2_i.h index 3e91d6c..bb2b6e3 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