|
|
| version 1.68.2.1, 2005/12/08 09:39:07 | version 1.90, 2020/12/15 17:10:30 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: Configure file for autoconf-disabled platforms. | Parser: Configure file for autoconf-disabled platforms. |
| Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| tested only with MS Visual C++ V6 | |
| */ | */ |
| #ifndef PA_CONFIG_FIXED_H | #ifndef PA_CONFIG_FIXED_H |
| #define PA_CONFIG_FIXED_H | #define PA_CONFIG_FIXED_H |
| static const char * const IDENT_CONFIG_FIXED_H="$Date$"; | #define IDENT_PA_CONFIG_FIXED_H "$Id$" |
| #if _MSC_VER < 1310 | |
| #define inline __inline | #define inline __inline |
| #define HAVE_ASSERT_H | #endif |
| #define HAVE_STDARG_H | |
| #define HAVE_PROCESS_H | #define HAVE_STDIO_H |
| #define HAVE_FCNTL_H | #define HAVE_SYS_TYPES_H |
| #define HAVE_SYS_STAT_H | #define HAVE_SYS_STAT_H |
| #define HAVE_IO_H | #define HAVE_STDLIB_H |
| #define HAVE_STDDEF_H | #define HAVE_STDDEF_H |
| #define HAVE_STDIO_H | #define HAVE_MEMORY_H |
| #define HAVE_ERRNO_H | #define HAVE_STRING_H |
| #define HAVE_ASSERT_H | |
| #define HAVE_LIMITS_H | |
| #define HAVE_CTYPE_H | #define HAVE_CTYPE_H |
| #define HAVE_MATH_H | #define HAVE_MATH_H |
| #define HAVE_TIME_H | #define HAVE_PROCESS_H |
| #define HAVE_STRING_H | #define HAVE_STDARG_H |
| #define HAVE_DIRECT_H | |
| #define HAVE_SETJMP_H | #define HAVE_SETJMP_H |
| #define HAVE_MEMORY_H | |
| #define HAVE_ERRNO_H | |
| #define HAVE_FCNTL_H | |
| #define HAVE_IO_H | |
| #define HAVE_SYS_LOCKING_H | #define HAVE_SYS_LOCKING_H |
| #define HAVE_SYS_TYPES_H | |
| #define HAVE_WINSOCK_H | |
| #define HAVE__LOCKING | #define HAVE__LOCKING |
| #define HAVE_WINSOCK_H | |
| #define HAVE_TIME_H | |
| #define HAVE_TIMEZONE | #define HAVE_TIMEZONE |
| #define HAVE_DAYLIGHT | #define HAVE_DAYLIGHT |
| #define USE_SMTP | #define USE_SMTP |
| #define PA_LITTLE_ENDIAN | #define PA_LITTLE_ENDIAN |
| #define PA_WITH_SJLJ_EXCEPTIONS | #define PA_WITH_SJLJ_EXCEPTIONS |
| //gmime | //types |
| #define off_t _off_t | |
| #define ssize_t int | #ifndef ssize_t |
| typedef int ssize_t; | |
| #endif | |
| #ifndef uint8_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 | |
| #ifndef uint64_t | |
| typedef unsigned __int64 uint64_t; | |
| #endif | |
| #define LT_MODULE_EXT ".dll" | |
| // disable any execs (file::exec, file::cgi, unix mail:send) | // disable any execs (file::exec, file::cgi, unix mail:send) |
| //#define NO_PA_EXECS | //#define NO_PA_EXECS |
| // has $mail:received | // disable stringstream usage |
| //#define WITH_MAILRECEIVE | //#define NO_STRINGSTREAM |
| #define GC_NOT_DLL | |
| // otherwise functions in libpcre will be declared as __declspec(dllimport) | |
| #define PCRE_STATIC | |
| //xml-abled parser | //xml-abled parser |
| #define XML | #define XML |
| //#define XML_STATIC | |
| #define XML_STATIC | |
| // otherwise functions in libxml2 will be declared as __declspec(dllimport) | |
| #ifdef XML_STATIC | #ifdef XML_STATIC |
| # define LIBXML_STATIC | #define LIBXML_STATIC |
| # define LIBXSLT_STATIC | |
| # define LIBEXSLT_STATIC | |
| # define LIBGDOME_STATIC | |
| #endif | #endif |
| // if no access to console, but need asserts | |
| //#define PA_RELEASE_ASSERTS | |
| #endif | #endif |