Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
/* |
| 2 |
* tiff.c - just a couple of functions that are neither loading nor saving |
| 3 |
*/ |
| 4 |
|
| 5 |
#include "../base/mdjvucfg.h" |
| 6 |
|
| 7 |
#if HAVE_TIFF |
| 8 |
#include <tiffio.h> |
| 9 |
#define MDJVU_USE_TIFFIO |
| 10 |
#endif |
| 11 |
|
| 12 |
#include <minidjvu/minidjvu.h> |
| 13 |
#include <stdlib.h> |
| 14 |
|
| 15 |
MDJVU_IMPLEMENT int mdjvu_have_tiff_support(void) |
| 16 |
{ |
| 17 |
#if HAVE_TIFF |
| 18 |
return 1; |
| 19 |
#else |
| 20 |
return 0; |
| 21 |
#endif |
| 22 |
} |
| 23 |
|
| 24 |
MDJVU_IMPLEMENT void mdjvu_disable_tiff_warnings(void) |
| 25 |
{ |
| 26 |
#if HAVE_TIFF |
| 27 |
TIFFSetWarningHandler(NULL); |
| 28 |
#endif |
| 29 |
} |