Commit 92f0207de8f31121735ac183f8e0abed013c3aab

Authored by Jay Berkenbilt
1 parent 11314a95

fix MSVC 2010 issues

ChangeLog
1 1 2011-12-28 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * include <stdint.h> if available to support MSVC 2010
  4 +
3 5 * Since PCRE is not necessarily thread safe, don't declare any
4 6 PCRE objects to be static.
5 7  
... ...
libqpdf/qpdf/MD5.hh
... ... @@ -7,6 +7,9 @@
7 7 #ifdef HAVE_INTTYPES_H
8 8 # include <inttypes.h>
9 9 #endif
  10 +#ifdef HAVE_STDINT_H
  11 +# include <stdint.h>
  12 +#endif
10 13  
11 14 class MD5
12 15 {
... ...
libqpdf/qpdf/rijndael.h
... ... @@ -5,6 +5,9 @@
5 5 #ifdef HAVE_INTTYPES_H
6 6 # include <inttypes.h>
7 7 #endif
  8 +#ifdef HAVE_STDINT_H
  9 +# include <stdint.h>
  10 +#endif
8 11  
9 12 int rijndaelSetupEncrypt(uint32_t *rk, const unsigned char *key,
10 13 int keybits);
... ...