--- parser3/src/include/pa_config_fixed.h 2012/03/16 09:24:09 1.75 +++ 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.75 2012/03/16 09:24:09 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,13 +66,7 @@ # define LIBEXSLT_STATIC #endif -// if no access to console, but need asserts -//#define PA_RELEASE_ASSERTS - -// PCRE +// otherwise functions in pcre.h will be declared as __declspec(dllimport) #define PCRE_STATIC -// with CULR -#define HAVE_CURL - #endif