Annotation of parser3/src/include/pa_config_fixed.h, revision 1.87
1.5 paf 1: /** @file
2: Parser: Configure file for autoconf-disabled platforms.
3:
1.87 ! moko 4: Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com)
1.38 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://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.87 ! moko 11: #define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.86 2016/09/21 15:45:06 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.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
52: typedef int ssize_t;
53: #endif
54:
1.80 moko 55: #ifndef uint8_t
56: typedef unsigned __int8 uint8_t;
57: #endif
58:
1.83 moko 59: #ifndef uint16_t
60: typedef unsigned __int16 uint16_t;
61: #endif
62:
1.79 moko 63: #ifndef uint32_t
1.80 moko 64: typedef unsigned __int32 uint32_t;
65: #endif
66:
67: #ifndef uint64_t
68: typedef unsigned __int64 uint64_t;
1.79 moko 69: #endif
1.31 paf 70:
1.82 moko 71: #define LT_MODULE_EXT ".dll"
72:
1.40 paf 73: // disable any execs (file::exec, file::cgi, unix mail:send)
74: //#define NO_PA_EXECS
75:
1.72 misha 76: // disable stringstream usage
77: //#define NO_STRINGSTREAM
78:
1.84 moko 79: #define GC_NOT_DLL
80:
1.66 paf 81: //xml-abled parser
82: #define XML
1.80 moko 83:
1.84 moko 84: #define XML_STATIC
1.56 paf 85: #ifdef XML_STATIC
86: # define LIBXML_STATIC
87: # define LIBXSLT_STATIC
88: # define LIBEXSLT_STATIC
89: #endif
1.67 paf 90:
1.77 moko 91: // otherwise functions in pcre.h will be declared as __declspec(dllimport)
92: #define PCRE_STATIC
93:
1.74 misha 94: #endif
E-mail: