summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h
diff options
context:
space:
mode:
authorJUN FANG <jun_fang@foxitsoftware.com>2015-02-27 10:00:00 -0800
committerJUN FANG <jun_fang@foxitsoftware.com>2015-02-27 10:10:15 -0800
commit7dba98630d1db1ead3382ecda41a52932783e272 (patch)
tree452f6505903c971742a0a17502399ce4fda09b80 /core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h
parent4cb0fa7b28a65c1f0f9636ba8bcfc6880f668e4a (diff)
downloadpdfium-7dba98630d1db1ead3382ecda41a52932783e272.tar.xz
Merge to XFA: Upgrade openjpeg to revision 2997.
BUG=457493 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/960183004
Diffstat (limited to 'core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h')
-rw-r--r--core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h
index d9238b1bfd..e3d4686488 100644
--- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h
+++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_includes.h
@@ -136,6 +136,10 @@ static INLINE long lrintf(float f){
}
#endif
+#if defined(_MSC_VER) && (_MSC_VER < 1400)
+ #define vsnprintf _vsnprintf
+#endif
+
#include "opj_inttypes.h"
#include "opj_clock.h"
#include "opj_malloc.h"