--- parser3/src/include/pa_config_fixed.h 2020/12/15 17:10:30 1.90 +++ parser3/src/include/pa_config_fixed.h 2026/09/20 17:44:53 1.99 @@ -1,14 +1,14 @@ /** @file Parser: Configure file for autoconf-disabled platforms. - Copyright (c) 2001-2020 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.90 2020/12/15 17:10:30 moko Exp $" +#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.99 2026/09/20 17:44:53 moko Exp $" #if _MSC_VER < 1310 #define inline __inline @@ -34,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 @@ -49,8 +49,12 @@ //types #ifndef ssize_t +#ifdef _WIN64 +typedef __int64 ssize_t; +#else typedef int ssize_t; #endif +#endif #ifndef uint8_t typedef unsigned __int8 uint8_t; @@ -68,6 +72,10 @@ 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) @@ -81,7 +89,7 @@ typedef unsigned __int64 uint64_t; // otherwise functions in libpcre will be declared as __declspec(dllimport) #define PCRE_STATIC -//xml-abled parser +// xml-abled parser #define XML #define XML_STATIC @@ -91,4 +99,11 @@ typedef unsigned __int64 uint64_t; #define LIBXML_STATIC #endif +// Prebuilt librabbitmq has no TLS support; install a TLS-enabled version +// using "vcpkg install librabbitmq[ssl]:x64-windows" and replace the library files in win32\rabbitmq +//#define WITH_AMQP + +// Avoid dependency on OpenSSL DLLs when TLS is not required +//#define WITHOUT_AMQP_SSL + #endif