--- parser3/src/include/pa_config_fixed.h 2005/12/19 14:22:01 1.70 +++ parser3/src/include/pa_config_fixed.h 2013/03/10 19:44:44 1.79 @@ -1,16 +1,14 @@ /** @file Parser: Configure file for autoconf-disabled platforms. - Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - tested only with MS Visual C++ V6 */ #ifndef PA_CONFIG_FIXED_H #define PA_CONFIG_FIXED_H -static const char * const IDENT_CONFIG_FIXED_H="$Date: 2005/12/19 14:22:01 $"; +#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 @@ -29,6 +27,7 @@ static const char * const IDENT_CONFIG_F #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 @@ -39,13 +38,22 @@ static const char * const IDENT_CONFIG_F #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 +// disable stringstream usage +//#define NO_STRINGSTREAM + // has $mail:received //#define WITH_MAILRECEIVE @@ -58,7 +66,7 @@ static const char * const IDENT_CONFIG_F # define LIBEXSLT_STATIC #endif -// if no access to console, but need asserts -//#define PA_RELEASE_ASSERTS +// otherwise functions in pcre.h will be declared as __declspec(dllimport) +#define PCRE_STATIC #endif