--- parser3/src/include/pa_config_fixed.h 2013/07/16 21:51:09 1.80 +++ parser3/src/include/pa_config_fixed.h 2026/09/18 17:10:15 1.97 @@ -1,20 +1,23 @@ /** @file Parser: Configure file for autoconf-disabled platforms. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_CONFIG_FIXED_H #define PA_CONFIG_FIXED_H -#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.80 2013/07/16 21:51:09 moko Exp $" +#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.97 2026/09/18 17:10:15 moko Exp $" +#if _MSC_VER < 1310 #define inline __inline +#endif #define HAVE_STDIO_H #define HAVE_SYS_TYPES_H #define HAVE_SYS_STAT_H +#define HAVE_STDLIB_H #define HAVE_STDDEF_H #define HAVE_MEMORY_H #define HAVE_STRING_H @@ -31,9 +34,9 @@ #define HAVE_FCNTL_H #define HAVE_IO_H #define HAVE_SYS_LOCKING_H -#define HAVE__LOCKING #define HAVE_WINSOCK_H +#define HAVE_TLS 1 #define HAVE_TIME_H #define HAVE_TIMEZONE @@ -53,6 +56,10 @@ typedef int ssize_t; typedef unsigned __int8 uint8_t; #endif +#ifndef uint16_t +typedef unsigned __int16 uint16_t; +#endif + #ifndef uint32_t typedef unsigned __int32 uint32_t; #endif @@ -61,23 +68,34 @@ typedef unsigned __int32 uint32_t; typedef unsigned __int64 uint64_t; #endif +#ifndef int64_t +typedef __int64 int64_t; +#endif + +#define LT_MODULE_EXT ".dll" + // disable any execs (file::exec, file::cgi, unix mail:send) //#define NO_PA_EXECS // disable stringstream usage //#define NO_STRINGSTREAM -//xml-abled parser +#define GC_NOT_DLL + +// otherwise functions in libpcre will be declared as __declspec(dllimport) +#define PCRE_STATIC + +// xml-abled parser #define XML -//#define XML_STATIC +#define XML_STATIC + +// otherwise functions in libxml2 will be declared as __declspec(dllimport) #ifdef XML_STATIC -# define LIBXML_STATIC -# define LIBXSLT_STATIC -# define LIBEXSLT_STATIC +#define LIBXML_STATIC #endif -// otherwise functions in pcre.h will be declared as __declspec(dllimport) -#define PCRE_STATIC +// AMQP support requires librabbitmq; install it using "vcpkg install librabbitmq[ssl]:x64-windows" +//#define WITH_AMQP #endif