Commit 92f0207de8f31121735ac183f8e0abed013c3aab
1 parent
11314a95
fix MSVC 2010 issues
Showing
3 changed files
with
8 additions
and
0 deletions
ChangeLog
| 1 | 2011-12-28 Jay Berkenbilt <ejb@ql.org> | 1 | 2011-12-28 Jay Berkenbilt <ejb@ql.org> |
| 2 | 2 | ||
| 3 | + * include <stdint.h> if available to support MSVC 2010 | ||
| 4 | + | ||
| 3 | * Since PCRE is not necessarily thread safe, don't declare any | 5 | * Since PCRE is not necessarily thread safe, don't declare any |
| 4 | PCRE objects to be static. | 6 | PCRE objects to be static. |
| 5 | 7 |
libqpdf/qpdf/MD5.hh
libqpdf/qpdf/rijndael.h
| @@ -5,6 +5,9 @@ | @@ -5,6 +5,9 @@ | ||
| 5 | #ifdef HAVE_INTTYPES_H | 5 | #ifdef HAVE_INTTYPES_H |
| 6 | # include <inttypes.h> | 6 | # include <inttypes.h> |
| 7 | #endif | 7 | #endif |
| 8 | +#ifdef HAVE_STDINT_H | ||
| 9 | +# include <stdint.h> | ||
| 10 | +#endif | ||
| 8 | 11 | ||
| 9 | int rijndaelSetupEncrypt(uint32_t *rk, const unsigned char *key, | 12 | int rijndaelSetupEncrypt(uint32_t *rk, const unsigned char *key, |
| 10 | int keybits); | 13 | int keybits); |