diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2017-11-12 10:33:07 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2017-11-15 18:15:18 +1030 |
commit | 49107ffcd4d3c9b18fc950d37bede08f89bcfcda (patch) | |
tree | c9343c884b433b394e71f625a230eba77e79fd24 /poppler/Error.cc | |
parent | 4f687665c39da743e802fc71ba05fb5966095293 (diff) |
Fix some mingw warnings
- Include poppler-config.h for mingw PRINTF_FORMAT
- Only redefine strcasecmp for MSVC
- Recent versions of MSVC have snprintf and vsnprintf
Diffstat (limited to 'poppler/Error.cc')
-rw-r--r-- | poppler/Error.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/Error.cc b/poppler/Error.cc index 99ca3ad3..71bd3ce9 100644 --- a/poppler/Error.cc +++ b/poppler/Error.cc @@ -25,6 +25,7 @@ //======================================================================== #include <config.h> +#include <poppler-config.h> #ifdef USE_GCC_PRAGMAS #pragma implementation |