diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-12-09 05:44:55 +0000 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-12-09 05:44:55 +0000 |
| commit | 776b83ddbcf4441e2af05ec7c09f08c760fe05b7 (patch) | |
| tree | ef9bb51dd75a15d8f678589daff309c13870ad22 /src/lib | |
| parent | 04ace2a558ac989dafc76c6cabd2468929d48695 (diff) | |
[trunk] Fixed compilation error under Visual Studio 2003 (fixes issue 351)
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/opj_includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/openjp2/opj_includes.h b/src/lib/openjp2/opj_includes.h index d9238b1b..e3d46864 100644 --- a/src/lib/openjp2/opj_includes.h +++ b/src/lib/openjp2/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" |
