--- parser3/src/include/pa_config_fixed.h 2002/03/27 09:44:12 1.41 +++ parser3/src/include/pa_config_fixed.h 2012/06/18 21:51:42 1.77 @@ -1,16 +1,17 @@ /** @file Parser: Configure file for autoconf-disabled platforms. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) +*/ - $Id: pa_config_fixed.h,v 1.41 2002/03/27 09:44:12 paf Exp $ - +#ifndef PA_CONFIG_FIXED_H +#define PA_CONFIG_FIXED_H - tested only with MS Visual C++ V6 -*/ +#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.77 2012/06/18 21:51:42 moko Exp $" #define inline __inline +#define HAVE_ASSERT_H #define HAVE_STDARG_H #define HAVE_PROCESS_H #define HAVE_FCNTL_H @@ -22,22 +23,43 @@ #define HAVE_CTYPE_H #define HAVE_MATH_H #define HAVE_TIME_H -#define HAVE_STDLIB_H #define HAVE_STRING_H #define HAVE_DIRECT_H #define HAVE_SETJMP_H #define HAVE_MEMORY_H #define HAVE_SYS_LOCKING_H #define HAVE_SYS_TYPES_H +#define HAVE_WINSOCK_H #define HAVE__LOCKING -#define HAVE_PRAGMA_PACK +#define HAVE_TIMEZONE +#define HAVE_DAYLIGHT #define USE_SMTP +#define PA_LITTLE_ENDIAN +#define PA_WITH_SJLJ_EXCEPTIONS -// no string origin tracking -//#define NO_STRING_ORIGIN +//gmime +#define off_t _off_t +#define ssize_t int // disable any execs (file::exec, file::cgi, unix mail:send) //#define NO_PA_EXECS -// xml-abled parser -//#define XML +// disable stringstream usage +//#define NO_STRINGSTREAM + +// has $mail:received +//#define WITH_MAILRECEIVE + +//xml-abled parser +#define XML +//#define XML_STATIC +#ifdef XML_STATIC +# define LIBXML_STATIC +# define LIBXSLT_STATIC +# define LIBEXSLT_STATIC +#endif + +// otherwise functions in pcre.h will be declared as __declspec(dllimport) +#define PCRE_STATIC + +#endif