diff options
Diffstat (limited to 'third_party/tiff_v403/tif_jpeg.c')
-rw-r--r-- | third_party/tiff_v403/tif_jpeg.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/third_party/tiff_v403/tif_jpeg.c b/third_party/tiff_v403/tif_jpeg.c index 3c2998b915..d6f37dfce3 100644 --- a/third_party/tiff_v403/tif_jpeg.c +++ b/third_party/tiff_v403/tif_jpeg.c @@ -84,13 +84,16 @@ int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode ); # define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ #endif -#ifndef _FX_JPEG_TURBO_ - #include "../libjpeg/jpeglib.h" - #include "../libjpeg/jerror.h" +#if defined(USE_SYSTEM_LIBJPEG) +#include <jerror.h> +#include <jpeglib.h> +#elif defined(USE_LIBJPEG_TURBO) +#include "third_party/libjpeg_turbo/jerror.h" +#include "third_party/libjpeg_turbo/jpeglib.h" #else - #include "../libjpeg-turbo/jpeglib.h" - #include "../libjpeg-turbo/jerror.h" -#endif//_FX_JPEG_TURBO_ +#include "third_party/libjpeg/jerror.h" +#include "third_party/libjpeg/jpeglib.h" +#endif /* * Do we want to do special processing suitable for when JSAMPLE is a |