--- parser3/src/include/pa_config_fixed.h 2012/06/17 11:14:11 1.76 +++ parser3/src/include/pa_config_fixed.h 2013/03/10 19:44:44 1.79 @@ -8,7 +8,7 @@ #ifndef PA_CONFIG_FIXED_H #define PA_CONFIG_FIXED_H -#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.76 2012/06/17 11:14:11 moko Exp $" +#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.79 2013/03/10 19:44:44 moko Exp $" #define inline __inline #define HAVE_ASSERT_H @@ -27,6 +27,7 @@ #define HAVE_DIRECT_H #define HAVE_SETJMP_H #define HAVE_MEMORY_H +#define HAVE_LIMITS_H #define HAVE_SYS_LOCKING_H #define HAVE_SYS_TYPES_H #define HAVE_WINSOCK_H @@ -37,9 +38,15 @@ #define PA_LITTLE_ENDIAN #define PA_WITH_SJLJ_EXCEPTIONS -//gmime -#define off_t _off_t -#define ssize_t int +//types + +#ifndef ssize_t +typedef int ssize_t; +#endif + +#ifndef uint32_t +typedef unsigned int uint32_t; +#endif // disable any execs (file::exec, file::cgi, unix mail:send) //#define NO_PA_EXECS @@ -59,4 +66,7 @@ # define LIBEXSLT_STATIC #endif +// otherwise functions in pcre.h will be declared as __declspec(dllimport) +#define PCRE_STATIC + #endif