Annotation of parser3/src/include/pa_config_fixed.h, revision 1.92
1.5 paf 1: /** @file
2: Parser: Configure file for autoconf-disabled platforms.
3:
1.92 ! moko 4: Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com)
! 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.92 ! moko 11: #define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.91 2020/12/29 09:13:40 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: #define HAVE__LOCKING
38:
1.50 paf 39: #define HAVE_WINSOCK_H
1.91 moko 40: #define HAVE_TLS 1
1.80 moko 41:
42: #define HAVE_TIME_H
1.51 paf 43: #define HAVE_TIMEZONE
44: #define HAVE_DAYLIGHT
1.80 moko 45:
1.34 paf 46: #define USE_SMTP
1.64 paf 47: #define PA_LITTLE_ENDIAN
1.49 paf 48: #define PA_WITH_SJLJ_EXCEPTIONS
49:
1.79 moko 50: //types
51:
52: #ifndef ssize_t
53: typedef int ssize_t;
54: #endif
55:
1.80 moko 56: #ifndef uint8_t
57: typedef unsigned __int8 uint8_t;
58: #endif
59:
1.83 moko 60: #ifndef uint16_t
61: typedef unsigned __int16 uint16_t;
62: #endif
63:
1.79 moko 64: #ifndef uint32_t
1.80 moko 65: typedef unsigned __int32 uint32_t;
66: #endif
67:
68: #ifndef uint64_t
69: typedef unsigned __int64 uint64_t;
1.79 moko 70: #endif
1.31 paf 71:
1.82 moko 72: #define LT_MODULE_EXT ".dll"
73:
1.40 paf 74: // disable any execs (file::exec, file::cgi, unix mail:send)
75: //#define NO_PA_EXECS
76:
1.72 misha 77: // disable stringstream usage
78: //#define NO_STRINGSTREAM
79:
1.84 moko 80: #define GC_NOT_DLL
81:
1.89 moko 82: // otherwise functions in libpcre will be declared as __declspec(dllimport)
83: #define PCRE_STATIC
84:
1.66 paf 85: //xml-abled parser
86: #define XML
1.80 moko 87:
1.84 moko 88: #define XML_STATIC
1.67 paf 89:
1.89 moko 90: // otherwise functions in libxml2 will be declared as __declspec(dllimport)
91: #ifdef XML_STATIC
92: #define LIBXML_STATIC
93: #endif
1.77 moko 94:
1.74 misha 95: #endif
E-mail: