Process Hacker
config.h
Go to the documentation of this file.
1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
3 
4 
5 /* On Unix-like systems config.h.in is converted by "configure" into config.h.
6 Some other environments also support the use of "configure". PCRE is written in
7 Standard C, but there are a few non-standard things it can cope with, allowing
8 it to run on SunOS4 and other "close to standard" systems.
9 
10 If you are going to build PCRE "by hand" on a system without "configure" you
11 should copy the distributed config.h.generic to config.h, and then set up the
12 macro definitions the way you need them. You must then add -DHAVE_CONFIG_H to
13 all of your compile commands, so that config.h is included at the start of
14 every source.
15 
16 Alternatively, you can avoid editing by using -D on the compiler command line
17 to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.
18 
19 PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if
20 HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set
21 them both to 0; an emulation function will be used. */
22 
23 // Get rid of CRT warnings.
24 #pragma warning(disable: 4996)
25 
26 /* By default, the \R escape sequence matches any Unicode line ending
27  character or sequence of characters. If BSR_ANYCRLF is defined, this is
28  changed so that backslash-R matches only CR, LF, or CRLF. The build- time
29  default can be overridden by the user of PCRE at runtime. On systems that
30  support it, "configure" can be used to override the default. */
31 /* #undef BSR_ANYCRLF */
32 
33 /* If you are compiling for a system that uses EBCDIC instead of ASCII
34  character codes, define this macro as 1. On systems that can use
35  "configure", this can be done via --enable-ebcdic. PCRE will then assume
36  that all input strings are in EBCDIC. If you do not define this macro, PCRE
37  will assume input strings are ASCII or UTF-8 Unicode. It is not possible to
38  build a version of PCRE that supports both EBCDIC and UTF-8. */
39 /* #undef EBCDIC */
40 
41 /* Define to 1 if you have the `bcopy' function. */
42 /*#ifndef HAVE_BCOPY
43 #define HAVE_BCOPY 1
44 #endif*/
45 
46 /* Define to 1 if you have the <bits/type_traits.h> header file. */
47 /* #undef HAVE_BITS_TYPE_TRAITS_H */
48 
49 /* Define to 1 if you have the <bzlib.h> header file. */
50 /*#ifndef HAVE_BZLIB_H
51 #define HAVE_BZLIB_H 1
52 #endif*/
53 
54 /* Define to 1 if you have the <dirent.h> header file. */
55 /*#ifndef HAVE_DIRENT_H
56 #define HAVE_DIRENT_H 1
57 #endif*/
58 
59 /* Define to 1 if you have the <dlfcn.h> header file. */
60 /*#ifndef HAVE_DLFCN_H
61 #define HAVE_DLFCN_H 1
62 #endif*/
63 
64 /* Define to 1 if you have the <inttypes.h> header file. */
65 /*#ifndef HAVE_INTTYPES_H
66 #define HAVE_INTTYPES_H 1
67 #endif*/
68 
69 /* Define to 1 if you have the <limits.h> header file. */
70 #ifndef HAVE_LIMITS_H
71 #define HAVE_LIMITS_H 1
72 #endif
73 
74 /* Define to 1 if the system has the type `long long'. */
75 #ifndef HAVE_LONG_LONG
76 #define HAVE_LONG_LONG 1
77 #endif
78 
79 /* Define to 1 if you have the `memmove' function. */
80 #ifndef HAVE_MEMMOVE
81 #define HAVE_MEMMOVE 1
82 #endif
83 
84 /* Define to 1 if you have the <memory.h> header file. */
85 #ifndef HAVE_MEMORY_H
86 #define HAVE_MEMORY_H 1
87 #endif
88 
89 /* Define to 1 if you have the <readline/history.h> header file. */
90 /*#ifndef HAVE_READLINE_HISTORY_H
91 #define HAVE_READLINE_HISTORY_H 1
92 #endif*/
93 
94 /* Define to 1 if you have the <readline/readline.h> header file. */
95 /*#ifndef HAVE_READLINE_READLINE_H
96 #define HAVE_READLINE_READLINE_H 1
97 #endif*/
98 
99 /* Define to 1 if you have the <stdint.h> header file. */
100 /*#ifndef HAVE_STDINT_H
101 #define HAVE_STDINT_H 1
102 #endif*/
103 
104 /* Define to 1 if you have the <stdlib.h> header file. */
105 #ifndef HAVE_STDLIB_H
106 #define HAVE_STDLIB_H 1
107 #endif
108 
109 /* Define to 1 if you have the `strerror' function. */
110 #ifndef HAVE_STRERROR
111 #define HAVE_STRERROR 1
112 #endif
113 
114 /* Define to 1 if you have the <string> header file. */
115 /*#ifndef HAVE_STRING
116 #define HAVE_STRING 1
117 #endif*/
118 
119 /* Define to 1 if you have the <strings.h> header file. */
120 /*#ifndef HAVE_STRINGS_H
121 #define HAVE_STRINGS_H 1
122 #endif*/
123 
124 /* Define to 1 if you have the <string.h> header file. */
125 #ifndef HAVE_STRING_H
126 #define HAVE_STRING_H 1
127 #endif
128 
129 /* Define to 1 if you have `strtoimax'. */
130 /* #undef HAVE_STRTOIMAX */
131 
132 /* Define to 1 if you have `strtoll'. */
133 /* #undef HAVE_STRTOLL */
134 
135 /* Define to 1 if you have `strtoq'. */
136 /*#ifndef HAVE_STRTOQ
137 #define HAVE_STRTOQ 1
138 #endif*/
139 
140 /* Define to 1 if you have the <sys/stat.h> header file. */
141 #ifndef HAVE_SYS_STAT_H
142 #define HAVE_SYS_STAT_H 1
143 #endif
144 
145 /* Define to 1 if you have the <sys/types.h> header file. */
146 #ifndef HAVE_SYS_TYPES_H
147 #define HAVE_SYS_TYPES_H 1
148 #endif
149 
150 /* Define to 1 if you have the <type_traits.h> header file. */
151 /* #undef HAVE_TYPE_TRAITS_H */
152 
153 /* Define to 1 if you have the <unistd.h> header file. */
154 /*#ifndef HAVE_UNISTD_H
155 #define HAVE_UNISTD_H 1
156 #endif*/
157 
158 /* Define to 1 if the system has the type `unsigned long long'. */
159 #ifndef HAVE_UNSIGNED_LONG_LONG
160 #define HAVE_UNSIGNED_LONG_LONG 1
161 #endif
162 
163 /* Define to 1 if you have the <windows.h> header file. */
164 /* #undef HAVE_WINDOWS_H */
165 #define HAVE_WINDOWS_H 1
166 
167 /* Define to 1 if you have the <zlib.h> header file. */
168 /*#ifndef HAVE_ZLIB_H
169 #define HAVE_ZLIB_H 1
170 #endif*/
171 
172 /* Define to 1 if you have `_strtoi64'. */
173 /* #undef HAVE__STRTOI64 */
174 #define HAVE__STRTOI64 1
175 
176 /* The value of LINK_SIZE determines the number of bytes used to store links
177  as offsets within the compiled regex. The default is 2, which allows for
178  compiled patterns up to 64K long. This covers the vast majority of cases.
179  However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
180  for longer patterns in extreme cases. On systems that support it,
181  "configure" can be used to override this default. */
182 #ifndef LINK_SIZE
183 #define LINK_SIZE 2
184 #endif
185 
186 /* Define to the sub-directory in which libtool stores uninstalled libraries.
187  */
188 #ifndef LT_OBJDIR
189 #define LT_OBJDIR ".libs/"
190 #endif
191 
192 /* The value of MATCH_LIMIT determines the default number of times the
193  internal match() function can be called during a single execution of
194  pcre_exec(). There is a runtime interface for setting a different limit.
195  The limit exists in order to catch runaway regular expressions that take
196  for ever to determine that they do not match. The default is set very large
197  so that it does not accidentally catch legitimate cases. On systems that
198  support it, "configure" can be used to override this default default. */
199 #ifndef MATCH_LIMIT
200 #define MATCH_LIMIT 10000000
201 #endif
202 
203 /* The above limit applies to all calls of match(), whether or not they
204  increase the recursion depth. In some environments it is desirable to limit
205  the depth of recursive calls of match() more strictly, in order to restrict
206  the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
207  used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
208  match(). To have any useful effect, it must be less than the value of
209  MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
210  a runtime method for setting a different limit. On systems that support it,
211  "configure" can be used to override the default. */
212 #ifndef MATCH_LIMIT_RECURSION
213 #define MATCH_LIMIT_RECURSION MATCH_LIMIT
214 #endif
215 
216 /* This limit is parameterized just in case anybody ever wants to change it.
217  Care must be taken if it is increased, because it guards against integer
218  overflow caused by enormously large patterns. */
219 #ifndef MAX_NAME_COUNT
220 #define MAX_NAME_COUNT 10000
221 #endif
222 
223 /* This limit is parameterized just in case anybody ever wants to change it.
224  Care must be taken if it is increased, because it guards against integer
225  overflow caused by enormously large patterns. */
226 #ifndef MAX_NAME_SIZE
227 #define MAX_NAME_SIZE 32
228 #endif
229 
230 /* The value of NEWLINE determines the newline character sequence. On systems
231  that support it, "configure" can be used to override the default, which is
232  10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
233  (ANYCRLF). */
234 #ifndef NEWLINE
235 #define NEWLINE 10
236 #endif
237 
238 /* PCRE uses recursive function calls to handle backtracking while matching.
239  This can sometimes be a problem on systems that have stacks of limited
240  size. Define NO_RECURSE to get a version that doesn't use recursion in the
241  match() function; instead it creates its own stack by steam using
242  pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
243  the comments and other stuff just above the match() function. On systems
244  that support it, "configure" can be used to set this in the Makefile (use
245  --disable-stack-for-recursion). */
246 /* #undef NO_RECURSE */
247 
248 /* Name of package */
249 #define PACKAGE "pcre"
250 
251 /* Define to the address where bug reports for this package should be sent. */
252 #define PACKAGE_BUGREPORT ""
253 
254 /* Define to the full name of this package. */
255 #define PACKAGE_NAME "PCRE"
256 
257 /* Define to the full name and version of this package. */
258 #define PACKAGE_STRING "PCRE 8.12"
259 
260 /* Define to the one symbol short name of this package. */
261 #define PACKAGE_TARNAME "pcre"
262 
263 /* Define to the home page for this package. */
264 #define PACKAGE_URL ""
265 
266 /* Define to the version of this package. */
267 #define PACKAGE_VERSION "8.12"
268 
269 
270 /* If you are compiling for a system other than a Unix-like system or
271  Win32, and it needs some magic to be inserted before the definition
272  of a function that is exported by the library, define this macro to
273  contain the relevant magic. If you do not define this macro, it
274  defaults to "extern" for a C compiler and "extern C" for a C++
275  compiler on non-Win32 systems. This macro apears at the start of
276  every exported function that is part of the external API. It does
277  not appear on functions that are "external" in the C sense, but
278  which are internal to the library. */
279 /* #undef PCRE_EXP_DEFN */
280 
281 /* Define if linking statically (TODO: make nice with Libtool) */
282 /* #undef PCRE_STATIC */
283 
284 /* When calling PCRE via the POSIX interface, additional working storage is
285  required for holding the pointers to capturing substrings because PCRE
286  requires three integers per substring, whereas the POSIX interface provides
287  only two. If the number of expected substrings is small, the wrapper
288  function uses space on the stack, because this is faster than using
289  malloc() for each call. The threshold above which the stack is no longer
290  used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
291  "configure" can be used to override this default. */
292 #ifndef POSIX_MALLOC_THRESHOLD
293 #define POSIX_MALLOC_THRESHOLD 10
294 #endif
295 
296 /* Define to 1 if you have the ANSI C header files. */
297 #ifndef STDC_HEADERS
298 #define STDC_HEADERS 1
299 #endif
300 
301 /* Define to allow pcregrep to be linked with libbz2, so that it is able to
302  handle .bz2 files. */
303 /* #undef SUPPORT_LIBBZ2 */
304 
305 /* Define to allow pcretest to be linked with libreadline. */
306 /* #undef SUPPORT_LIBREADLINE */
307 
308 /* Define to allow pcregrep to be linked with libz, so that it is able to
309  handle .gz files. */
310 /* #undef SUPPORT_LIBZ */
311 
312 /* Define to enable support for Unicode properties */
313 /* #undef SUPPORT_UCP */
314 
315 /* Define to enable support for the UTF-8 Unicode encoding. This will work
316  even in an EBCDIC environment, but it is incompatible with the EBCDIC
317  macro. That is, PCRE can support *either* EBCDIC code *or* ASCII/UTF-8, but
318  not both at once. */
319 /* #undef SUPPORT_UTF8 */
320 
321 /* Version number of package */
322 #ifndef VERSION
323 #define VERSION "8.12"
324 #endif
325 
326 /* Define to empty if `const' does not conform to ANSI C. */
327 /* #undef const */
328 
329 /* Define to the type of a signed integer type of width exactly 64 bits if
330  such a type exists and the standard includes do not define it. */
331 /* #undef int64_t */
332 
333 /* Define to `unsigned int' if <sys/types.h> does not define. */
334 /* #undef size_t */