diff options
Diffstat (limited to 'core')
51 files changed, 1 insertions, 108 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_tiff.cpp b/core/src/fxcodec/codec/fx_codec_tiff.cpp index c90de7a74f..51fde42c70 100644 --- a/core/src/fxcodec/codec/fx_codec_tiff.cpp +++ b/core/src/fxcodec/codec/fx_codec_tiff.cpp @@ -10,11 +10,9 @@ extern "C" {
#include "../fx_tiff/include/fx_tiffiop.h"
}
-#if !defined(_FPDFAPI_MINI_)
void* IccLib_CreateTransform_sRGB(const unsigned char* pProfileData, unsigned int dwProfileSize, int nComponents, int intent, FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT);
void IccLib_TranslateImage(void* pTransform, unsigned char* pDest, const unsigned char* pSrc, int pixels);
void IccLib_DestroyTransform(void* pTransform);
-#endif
class CCodec_TiffContext : public CFX_Object
{
public:
@@ -57,12 +55,10 @@ CCodec_TiffContext::CCodec_TiffContext() }
CCodec_TiffContext::~CCodec_TiffContext()
{
-#if !defined(_FPDFAPI_MINI_)
if(icc_ctx) {
IccLib_DestroyTransform(icc_ctx);
icc_ctx = NULL;
}
-#endif
if(tif_ctx) {
TIFFClose(tif_ctx);
}
@@ -192,18 +188,14 @@ int TIFFCmyk2Rgb(thandle_t context, uint8 c, uint8 m, uint8 y, uint8 k, uint8* r return 0;
}
CCodec_TiffContext* p = (CCodec_TiffContext*)context;
-#if !defined(_FPDFAPI_MINI_)
if(p->icc_ctx) {
unsigned char cmyk[4], bgr[3];
cmyk[0] = c, cmyk[1] = m, cmyk[2] = y, cmyk[3] = k;
IccLib_TranslateImage(p->icc_ctx, bgr, cmyk, 1);
*r = bgr[2], *g = bgr[1], *b = bgr[0];
} else {
-#endif
AdobeCMYK_to_sRGB1(c, m, y, k, *r, *g, *b);
-#if !defined(_FPDFAPI_MINI_)
}
-#endif
return 1;
}
FX_BOOL CCodec_TiffContext::InitDecoder(IFX_FileRead* file_ptr)
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_png.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_png.c index 5329a6409d..93c675b085 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_png.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_png.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* png.c - location for general purpose libpng functions
*
* Last changed in libpng 1.6.2 [April 25, 2013]
@@ -4296,4 +4295,3 @@ png_image_error(png_imagep image, png_const_charp error_message) #endif /* SIMPLIFIED READ/WRITE */
#endif /* defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngerror.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngerror.c index e53c932542..2125e4ca11 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngerror.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngerror.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngerror.c - stub functions for i/o and memory allocation
*
* Last changed in libpng 1.6.1 [March 28, 2013]
@@ -930,4 +929,3 @@ png_safe_execute(png_imagep image_in, int (*function)(png_voidp), png_voidp arg) }
#endif /* SIMPLIFIED READ/WRITE */
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngget.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngget.c index 56ba97090e..6839f6beef 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngget.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngget.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngget.c - retrieval of values from info struct
*
* Last changed in libpng 1.6.1 [March 28, 2013]
@@ -1175,4 +1174,3 @@ png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr) #endif
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngmem.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngmem.c index 446bc6879a..9be580322a 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngmem.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngmem.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngmem.c - stub functions for memory allocation
*
* Last changed in libpng 1.6.0 [February 14, 2013]
@@ -288,4 +287,3 @@ png_get_mem_ptr(png_const_structrp png_ptr) }
#endif /* PNG_USER_MEM_SUPPORTED */
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngpread.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngpread.c index 6d5053f849..afb2abf357 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngpread.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngpread.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngpread.c - read a png file in push mode
*
* Last changed in libpng 1.6.0 [February 14, 2013]
@@ -1289,4 +1288,3 @@ png_get_progressive_ptr(png_const_structrp png_ptr) return png_ptr->io_ptr;
}
#endif /* PNG_PROGRESSIVE_READ_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngread.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngread.c index 3918e8396f..b30c5a1009 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngread.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngread.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngread.c - read a PNG file
*
* Last changed in libpng 1.6.1 [March 28, 2013]
@@ -3998,4 +3997,3 @@ png_image_finish_read(png_imagep image, png_const_colorp background, #endif /* PNG_SIMPLIFIED_READ_SUPPORTED */
#endif /* PNG_READ_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrio.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrio.c index 5f927d127b..d27a26d5bc 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrio.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrio.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngrio.c - functions for data input
*
* Last changed in libpng 1.6.0 [February 14, 2013]
@@ -116,4 +115,3 @@ png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, #endif
}
#endif /* PNG_READ_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrtran.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrtran.c index 4a279be3ff..a81034cdf1 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrtran.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrtran.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngrtran.c - transforms the data in a row for PNG readers
*
* Last changed in libpng 1.6.2 [April 25, 2013]
@@ -5101,4 +5100,3 @@ png_do_read_intrapixel(png_row_infop row_info, png_bytep row) }
#endif /* PNG_MNG_FEATURES_SUPPORTED */
#endif /* PNG_READ_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrutil.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrutil.c index d12395a18d..970ec4d4d9 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrutil.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngrutil.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.6.3 [July 18, 2013]
@@ -4470,4 +4469,3 @@ defined(PNG_USER_TRANSFORM_PTR_SUPPORTED) png_ptr->flags |= PNG_FLAG_ROW_INIT;
}
#endif /* PNG_READ_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngset.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngset.c index 8fd7445f2f..b4790521bb 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngset.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngset.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.6.3 [July 18, 2013]
@@ -1595,4 +1594,3 @@ png_set_check_for_invalid_index(png_structrp png_ptr, int allowed) }
#endif
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngtrans.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngtrans.c index a46b0fc331..0de6a46f30 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngtrans.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngtrans.c @@ -1,4 +1,3 @@ -#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
/* pngtrans.c - transforms the data in a row (used by both readers and writers)
*
* Last changed in libpng 1.6.2 [April 25, 2013]
@@ -839,4 +838,3 @@ png_get_current_pass_number(png_const_structrp png_ptr) #endif /* PNG_READ_USER_TRANSFORM_SUPPORTED ||
PNG_WRITE_USER_TRANSFORM_SUPPORTED */
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
-#endif
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwio.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwio.c index 5f3133e5d5..9268c163b0 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwio.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwio.c @@ -17,7 +17,6 @@ * functions, but rather write replacement functions and then change
* them at run time with png_set_write_fn(...).
*/
-#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
#include "pngpriv.h"
#ifdef PNG_WRITE_SUPPORTED
@@ -162,4 +161,3 @@ png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, }
}
#endif /* PNG_WRITE_SUPPORTED */
-#endif//_FPDFAPI_MINI_
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwrite.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwrite.c index 7efcfc3a26..f48ed970ff 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwrite.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwrite.c @@ -10,7 +10,6 @@ * For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
-#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
#include "pngpriv.h"
#if defined(PNG_SIMPLIFIED_WRITE_SUPPORTED) && defined(PNG_STDIO_SUPPORTED)
# include <errno.h>
@@ -2328,4 +2327,3 @@ png_image_write_to_file(png_imagep image, const char *file_name, #endif /* PNG_STDIO_SUPPORTED */
#endif /* SIMPLIFIED_WRITE */
#endif /* PNG_WRITE_SUPPORTED */
-#endif//_FPDFAPI_MINI_
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwtran.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwtran.c index 8f2811099a..1fc3340e2c 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwtran.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwtran.c @@ -10,7 +10,6 @@ * For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
-#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
#include "pngpriv.h"
#ifdef PNG_WRITE_SUPPORTED
@@ -635,4 +634,3 @@ png_do_write_intrapixel(png_row_infop row_info, png_bytep row) }
#endif /* PNG_MNG_FEATURES_SUPPORTED */
#endif /* PNG_WRITE_SUPPORTED */
-#endif//_FPDFAPI_MINI_
diff --git a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwutil.c b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwutil.c index 40955b9381..dd5d659f3c 100644 --- a/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwutil.c +++ b/core/src/fxcodec/fx_lpng/lpng_v163/fx_pngwutil.c @@ -10,7 +10,6 @@ * For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
-#if (!defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_) || defined(_PNG_DECODER_)) && !defined(_USE_ADDIN_) && !defined(_FX_EMB_NOUSE_DECODER_)
#include "pngpriv.h"
#ifdef PNG_WRITE_SUPPORTED
@@ -3021,4 +3020,3 @@ png_write_filtered_row(png_structrp png_ptr, png_bytep filtered_row, #endif
}
#endif /* PNG_WRITE_SUPPORTED */
-#endif//_FPDFAPI_MINI_
diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_aux.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_aux.c index 752e8d6ef4..7d712146dd 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_aux.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_aux.c @@ -29,7 +29,6 @@ * * Auxiliary Support Routines. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include "tif_predict.h" #include <math.h> @@ -357,4 +356,4 @@ _TIFFUInt64ToDouble(uint64 ui64) * fill-column: 78 * End: */ - #endif +
\ No newline at end of file diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_close.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_close.c index eebb30a41c..6181b97e2e 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_close.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_close.c @@ -27,7 +27,6 @@ /* * TIFF Library. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <string.h> @@ -139,5 +138,4 @@ TIFFClose(TIFF* tif) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_codec.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_codec.c index 16d237f79a..012a90b5e6 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_codec.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_codec.c @@ -29,7 +29,6 @@ * * Builtin Compression Scheme Configuration Support. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" static int NotConfigured(TIFF*, int); @@ -164,5 +163,4 @@ TIFFIsCODECConfigured(uint16 scheme) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_color.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_color.c index 71effbce92..c55a4afeb2 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_color.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_color.c @@ -35,7 +35,6 @@ * * Color space conversion routines. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <math.h> @@ -285,5 +284,4 @@ TIFFYCbCrToRGBInit(TIFFYCbCrToRGB* ycbcr, float *luma, float *refBlackWhite) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_compress.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_compress.c index 5b2b4d5948..3a1e15f3ba 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_compress.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_compress.c @@ -29,7 +29,6 @@ * * Compression Scheme Configuration Support. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" static int @@ -303,5 +302,4 @@ TIFFGetConfiguredCODECs() * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dir.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dir.c index 076d9b4ea0..06951b4d17 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dir.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dir.c @@ -30,7 +30,6 @@ * Directory Tag Get & Set Routines. * (and also some miscellaneous stuff) */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /* @@ -1658,5 +1657,4 @@ TIFFUnlinkDirectory(TIFF* tif, uint16 dirn) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirinfo.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirinfo.c index 5f28d23602..2914d4079b 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirinfo.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirinfo.c @@ -29,7 +29,6 @@ * * Core Directory Tag Support. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <stdlib.h> @@ -974,5 +973,4 @@ TIFFMergeFieldInfo(TIFF* tif, const TIFFFieldInfo info[], uint32 n) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirread.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirread.c index bd28d6926d..b9e4ffae09 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirread.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirread.c @@ -39,7 +39,6 @@ * TIFFReadDirectory, so as to eliminate current possibly repetitive lookup. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #define IGNORE 0 /* tag placeholder used below */ @@ -5612,5 +5611,4 @@ int _TIFFFillStriles( TIFF *tif ) * fill-column: 78 * End: */ - #endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirwrite.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirwrite.c index ac13cd4916..fa20609e2b 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirwrite.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dirwrite.c @@ -29,7 +29,6 @@ * * Directory Write Support Routines. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef HAVE_IEEEFP @@ -2909,4 +2908,3 @@ _TIFFRewriteField(TIFF* tif, uint16 tag, TIFFDataType in_datatype, * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dumpmode.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dumpmode.c index 78ab03f608..8f582e7be5 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_dumpmode.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_dumpmode.c @@ -29,7 +29,6 @@ * * "Null" Compression Algorithm Support. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" static int @@ -142,5 +141,4 @@ TIFFInitDumpMode(TIFF* tif, int scheme) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_error.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_error.c index 3a478c328e..8c0ef6cf9b 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_error.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_error.c @@ -27,7 +27,6 @@ /* * TIFF Library. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /*TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL;*/ @@ -81,5 +80,4 @@ TIFFErrorExt(thandle_t fd, const char* module, const char* fmt, ...) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_extension.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_extension.c index 474cd790cd..32d10cb7ad 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_extension.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_extension.c @@ -30,7 +30,6 @@ * Various routines support external extension of the tag set, and other * application extension capabilities. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" int TIFFGetTagListCount( TIFF *tif ) @@ -116,5 +115,4 @@ void TIFFSetClientInfo( TIFF *tif, void *data, const char *name ) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3.c index 986a3f48b9..7ec8faa8b0 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef CCITT_SUPPORT /* @@ -1621,5 +1620,4 @@ TIFFInitCCITTRLEW(TIFF* tif, int scheme) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3sm.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3sm.c index 47a532cbd6..c943f3e42f 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3sm.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_fax3sm.c @@ -1,6 +1,5 @@ /* WARNING, this file was automatically generated by the mkg3states program */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiff.h" #include "tif_fax3.h" const TIFFFaxTabEnt TIFFFaxMainTable[128] = { @@ -1259,5 +1258,4 @@ * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_flush.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_flush.c index 075b3bcf33..976cbc4cde 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_flush.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_flush.c @@ -27,7 +27,6 @@ /* * TIFF Library. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" int @@ -117,5 +116,4 @@ TIFFFlushData(TIFF* tif) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_getimage.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_getimage.c index a5d7a44e19..35c4786018 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_getimage.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_getimage.c @@ -29,7 +29,6 @@ * * Read and return a packed RGBA image. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <stdio.h> @@ -2987,5 +2986,4 @@ TIFFReadRGBATile(TIFF* tif, uint32 col, uint32 row, uint32 * raster) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_jpeg.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_jpeg.c index 84f0f9e66d..d02f1f35e2 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_jpeg.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_jpeg.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #define WIN32_LEAN_AND_MEAN #define VC_EXTRALEAN @@ -2307,5 +2306,4 @@ here hopefully is harmless. * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_luv.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_luv.c index 0c2298989b..88f4ee85a0 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_luv.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_luv.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef LOGLUV_SUPPORT @@ -1683,5 +1682,4 @@ bad: * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_lzw.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_lzw.c index 5c9ab0bf74..3a6f4c82c7 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_lzw.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_lzw.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef LZW_SUPPORT /* @@ -1165,5 +1164,4 @@ bad: * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_next.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_next.c index 8c4fec456f..9f2f6d5307 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_next.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_next.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef NEXT_SUPPORT /* @@ -158,5 +157,4 @@ TIFFInitNeXT(TIFF* tif, int scheme) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_ojpeg.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_ojpeg.c index bed4f9be7e..dfd1403aa5 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_ojpeg.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_ojpeg.c @@ -120,7 +120,6 @@ session. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #define WIN32_LEAN_AND_MEAN #define VC_EXTRALEAN @@ -2502,5 +2501,4 @@ OJPEGLibjpegJpegSourceMgrTermSource(jpeg_decompress_struct* cinfo) * fill-column: 78 * End: */ -#endif//#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_open.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_open.c index 95e8d1f8b9..f1c3e0a4a6 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_open.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_open.c @@ -27,7 +27,6 @@ /* * TIFF Library. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /* @@ -724,5 +723,4 @@ TIFFGetUnmapFileProc(TIFF* tif) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_packbits.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_packbits.c index 6fb517f7e5..b599934f1f 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_packbits.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_packbits.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef PACKBITS_SUPPORT /* @@ -298,5 +297,4 @@ TIFFInitPackBits(TIFF* tif, int scheme) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_pixarlog.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_pixarlog.c index 5aaf8be0d9..9521338da3 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_pixarlog.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_pixarlog.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef PIXARLOG_SUPPORT @@ -1424,5 +1423,4 @@ bad: * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_predict.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_predict.c index 190d01644a..a34faf0a70 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_predict.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_predict.c @@ -29,7 +29,6 @@ * * Predictor Tag Support (used by multiple codecs). */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include "tif_predict.h" @@ -809,5 +808,4 @@ TIFFPredictorCleanup(TIFF* tif) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_print.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_print.c index 3ee43fc79f..f93e557f5c 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_print.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_print.c @@ -29,7 +29,6 @@ * * Directory Printing Support */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <stdio.h> @@ -715,5 +714,4 @@ _TIFFprintAsciiTag(FILE* fd, const char* name, const char* value) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_read.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_read.c index a25a5a6894..eb9350846e 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_read.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_read.c @@ -28,7 +28,6 @@ * TIFF Library. * Scanline-oriented Read Support */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <stdio.h> @@ -1112,5 +1111,4 @@ _TIFFSwab64BitData(TIFF* tif, uint8* buf, tmsize_t cc) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_strip.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_strip.c index 047c59814c..2c15a70bdc 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_strip.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_strip.c @@ -29,7 +29,6 @@ * * Strip-organized Image Support Routines. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /* @@ -382,5 +381,4 @@ TIFFRasterScanlineSize(TIFF* tif) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_swab.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_swab.c index a60814bee2..205e529c2c 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_swab.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_swab.c @@ -29,7 +29,6 @@ * * XXX We assume short = 16-bits and long = 32-bits XXX */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifndef TIFFSwabShort @@ -309,5 +308,4 @@ TIFFReverseBits(uint8* cp, tmsize_t n) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_thunder.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_thunder.c index e7cb0d4df5..e2d4ac0439 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_thunder.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_thunder.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <assert.h> #ifdef THUNDER_SUPPORT @@ -206,5 +205,4 @@ TIFFInitThunderScan(TIFF* tif, int scheme) * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_tile.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_tile.c index 24ba82c040..cb59a598e8 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_tile.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_tile.c @@ -29,7 +29,6 @@ * * Tiled Image Support Routines. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /* @@ -298,5 +297,4 @@ _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_version.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_version.c index 41aa8b0dcd..30119d205c 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_version.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_version.c @@ -22,7 +22,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" static const char TIFFVersion[] = TIFFLIB_VERSION_STR; @@ -39,5 +38,4 @@ TIFFGetVersion(void) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_warning.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_warning.c index ac6b3b938f..997f353688 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_warning.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_warning.c @@ -27,7 +27,6 @@ /* * TIFF Library. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" /*TIFFErrorHandlerExt _TIFFwarningHandlerExt = NULL;*/ @@ -82,6 +81,5 @@ TIFFWarningExt(thandle_t fd, const char* module, const char* fmt, ...) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_write.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_write.c index 11a537c9d0..f32ee9078b 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_write.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_write.c @@ -29,7 +29,6 @@ * * Scanline-oriented Write Support */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #include <stdio.h> @@ -770,5 +769,4 @@ TIFFSetWriteOffset(TIFF* tif, toff_t off) * fill-column: 78 * End: */ -#endif diff --git a/core/src/fxcodec/fx_tiff/tiff_v403/tif_zip.c b/core/src/fxcodec/fx_tiff/tiff_v403/tif_zip.c index 0bb2a8cb29..f6e235842b 100644 --- a/core/src/fxcodec/fx_tiff/tiff_v403/tif_zip.c +++ b/core/src/fxcodec/fx_tiff/tiff_v403/tif_zip.c @@ -23,7 +23,6 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#if (!defined(_FPDFAPI_MINI_) || defined(_TIFF_DECODER_)) && !defined(_USE_ADDIN_) && !defined _FX_NO_ANSIC_ && !defined(_FX_EMB_NOUSE_DECODER_) #include "tiffiop.h" #ifdef ZIP_SUPPORT /* @@ -467,5 +466,4 @@ bad: * fill-column: 78 * End: */ -#endif |