summaryrefslogtreecommitdiff
path: root/core/fxcodec/fx_codec_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec/fx_codec_def.h')
-rw-r--r--core/fxcodec/fx_codec_def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fxcodec/fx_codec_def.h b/core/fxcodec/fx_codec_def.h
index e4ac0437eb..b7944ee1c1 100644
--- a/core/fxcodec/fx_codec_def.h
+++ b/core/fxcodec/fx_codec_def.h
@@ -28,13 +28,16 @@ enum FXCODEC_IMAGE_TYPE {
FXCODEC_IMAGE_UNKNOWN = 0,
FXCODEC_IMAGE_BMP,
FXCODEC_IMAGE_JPG,
+#ifdef PDF_ENABLE_XFA_PNG
FXCODEC_IMAGE_PNG,
+#endif // PDF_ENABLE_XFA_PNG
FXCODEC_IMAGE_GIF,
#ifdef PDF_ENABLE_XFA_TIFF
FXCODEC_IMAGE_TIFF,
#endif // PDF_ENABLE_XFA_TIFF
FXCODEC_IMAGE_MAX
};
+
enum FXCODEC_RESUNIT {
FXCODEC_RESUNIT_NONE = 0,
FXCODEC_RESUNIT_INCH,