fix MSVC 2010 issues

This commit is contained in:
Jay Berkenbilt 2011-12-28 16:40:33 -05:00
parent 11314a9551
commit 92f0207de8
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2011-12-28 Jay Berkenbilt <ejb@ql.org>
* include <stdint.h> if available to support MSVC 2010
* Since PCRE is not necessarily thread safe, don't declare any
PCRE objects to be static.

View File

@ -7,6 +7,9 @@
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
class MD5
{

View File

@ -5,6 +5,9 @@
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
int rijndaelSetupEncrypt(uint32_t *rk, const unsigned char *key,
int keybits);