Annotation of parser3/src/include/pa_config_fixed.h, revision 1.101

1.5       paf         1: /** @file
                      2:        Parser: Configure file for autoconf-disabled platforms.
                      3: 
1.96      moko        4:        Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com)
1.92      moko        5:        Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
1.47      paf         6: */
1.5       paf         7: 
1.47      paf         8: #ifndef PA_CONFIG_FIXED_H
                      9: #define PA_CONFIG_FIXED_H
1.5       paf        10: 
1.101   ! moko       11: #define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.100 2026/10/08 18:56:00 moko Exp $"
1.1       paf        12: 
1.86      moko       13: #if _MSC_VER < 1310
1.6       paf        14: #define inline  __inline
1.86      moko       15: #endif
1.80      moko       16: 
                     17: #define HAVE_STDIO_H
                     18: #define HAVE_SYS_TYPES_H
1.3       paf        19: #define HAVE_SYS_STAT_H
1.81      moko       20: #define HAVE_STDLIB_H
1.8       parser     21: #define HAVE_STDDEF_H
1.80      moko       22: #define HAVE_MEMORY_H
                     23: #define HAVE_STRING_H
                     24: 
                     25: #define HAVE_ASSERT_H
                     26: #define HAVE_LIMITS_H
1.3       paf        27: #define HAVE_CTYPE_H
                     28: #define HAVE_MATH_H
1.80      moko       29: #define HAVE_PROCESS_H
                     30: #define HAVE_STDARG_H
1.8       parser     31: #define HAVE_SETJMP_H
1.80      moko       32: 
                     33: #define HAVE_ERRNO_H
                     34: #define HAVE_FCNTL_H
                     35: #define HAVE_IO_H
1.31      paf        36: #define HAVE_SYS_LOCKING_H
1.80      moko       37: 
1.50      paf        38: #define HAVE_WINSOCK_H
1.91      moko       39: #define HAVE_TLS 1
1.80      moko       40: 
                     41: #define HAVE_TIME_H
1.51      paf        42: #define HAVE_TIMEZONE
                     43: #define HAVE_DAYLIGHT
1.80      moko       44: 
1.34      paf        45: #define USE_SMTP
1.64      paf        46: #define PA_LITTLE_ENDIAN
1.49      paf        47: #define PA_WITH_SJLJ_EXCEPTIONS
                     48: 
1.79      moko       49: //types
                     50: 
                     51: #ifndef ssize_t
1.98      moko       52: #ifdef _WIN64
                     53: typedef __int64 ssize_t;
                     54: #else
1.79      moko       55: typedef int ssize_t;
                     56: #endif
1.98      moko       57: #endif
1.79      moko       58: 
1.80      moko       59: #ifndef uint8_t
                     60: typedef unsigned __int8 uint8_t;
                     61: #endif
                     62: 
1.83      moko       63: #ifndef uint16_t
                     64: typedef unsigned __int16 uint16_t;
                     65: #endif
                     66: 
1.79      moko       67: #ifndef uint32_t
1.80      moko       68: typedef unsigned __int32 uint32_t;
                     69: #endif
                     70: 
                     71: #ifndef uint64_t
                     72: typedef unsigned __int64 uint64_t;
1.79      moko       73: #endif
1.31      paf        74: 
1.95      moko       75: #ifndef int64_t
                     76: typedef __int64 int64_t;
                     77: #endif
                     78: 
1.82      moko       79: #define LT_MODULE_EXT ".dll"
                     80: 
1.40      paf        81: // disable any execs (file::exec, file::cgi, unix mail:send)
                     82: //#define NO_PA_EXECS
                     83: 
1.72      misha      84: // disable stringstream usage
                     85: //#define NO_STRINGSTREAM
                     86: 
1.84      moko       87: #define GC_NOT_DLL
                     88: 
1.101   ! moko       89: // PCRE2 (win32\pcre2); comment it out to build with PCRE 8.x (win32\pcre)
        !            90: #define HAVE_PCRE2
        !            91: 
1.89      moko       92: // otherwise functions in libpcre will be declared as __declspec(dllimport)
                     93: #define PCRE_STATIC
1.101   ! moko       94: #define PCRE2_STATIC
1.89      moko       95: 
1.97      moko       96: // xml-abled parser
1.66      paf        97: #define XML
1.80      moko       98: 
1.84      moko       99: #define XML_STATIC
1.67      paf       100: 
1.89      moko      101: // otherwise functions in libxml2 will be declared as __declspec(dllimport)
                    102: #ifdef XML_STATIC
                    103: #define LIBXML_STATIC
                    104: #endif
1.77      moko      105: 
1.100     moko      106: #define WITH_AMQP
                    107: 
                    108: // Prebuilt librabbitmq has no TLS support; install a TLS-enabled version (adds a dependency on OpenSSL DLLs)
1.99      moko      109: // using "vcpkg install librabbitmq[ssl]:x64-windows" and replace the library files in win32\rabbitmq
1.100     moko      110: //#define WITH_AMQP_SSL
1.98      moko      111: 
1.101   ! moko      112: #define WITH_REDIS
        !           113: 
        !           114: // Prebuilt hiredis has no TLS support; install a TLS-enabled version (adds hiredis_ssl.lib and a dependency on OpenSSL DLLs)
        !           115: // using "vcpkg install hiredis[ssl]:x64-windows" and replace the library files in win32\redis
        !           116: //#define WITH_REDIS_SSL
        !           117: 
1.74      misha     118: #endif

E-mail: