Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 1 | /* src/config.h. Generated from config.h.in by configure. */ |
| 2 | /* src/config.h.in. Generated from configure.ac by autoheader. */ |
| 3 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 4 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 5 | /* PCRE2 is written in Standard C, but there are a few non-standard things it |
| 6 | can cope with, allowing it to run on SunOS4 and other "close to standard" |
| 7 | systems. |
| 8 | |
| 9 | In environments that support the GNU autotools, config.h.in is converted into |
| 10 | config.h by the "configure" script. In environments that use CMake, |
| 11 | config-cmake.in is converted into config.h. If you are going to build PCRE2 "by |
| 12 | hand" without using "configure" or CMake, you should copy the distributed |
| 13 | config.h.generic to config.h, and edit the macro definitions to be the way you |
| 14 | need them. You must then add -DHAVE_CONFIG_H to all of your compile commands, |
| 15 | so that config.h is included at the start of every source. |
| 16 | |
| 17 | Alternatively, you can avoid editing by using -D on the compiler command line |
| 18 | to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H, |
| 19 | but if you do, default values will be taken from config.h for non-boolean |
| 20 | macros that are not defined on the command line. |
| 21 | |
Elliott Hughes | 653c210 | 2019-01-09 15:41:36 -0800 | [diff] [blame] | 22 | Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be |
| 23 | defined (conventionally to 1) for TRUE, and not defined at all for FALSE. All |
| 24 | such macros are listed as a commented #undef in config.h.generic. Macros such |
| 25 | as MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 26 | surrounded by #ifndef/#endif lines so that the value can be overridden by -D. |
| 27 | |
| 28 | PCRE2 uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if |
| 29 | HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make |
| 30 | sure both macros are undefined; an emulation function will then be used. */ |
| 31 | |
| 32 | /* By default, the \R escape sequence matches any Unicode line ending |
| 33 | character or sequence of characters. If BSR_ANYCRLF is defined (to any |
| 34 | value), this is changed so that backslash-R matches only CR, LF, or CRLF. |
| 35 | The build-time default can be overridden by the user of PCRE2 at runtime. |
| 36 | */ |
| 37 | /* #undef BSR_ANYCRLF */ |
| 38 | |
Elliott Hughes | 0c26e19 | 2019-08-07 12:24:46 -0700 | [diff] [blame] | 39 | /* Define to any value to disable the use of the z and t modifiers in |
| 40 | formatting settings such as %zu or %td (this is rarely needed). */ |
| 41 | /* #undef DISABLE_PERCENT_ZT */ |
| 42 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 43 | /* If you are compiling for a system that uses EBCDIC instead of ASCII |
| 44 | character codes, define this macro to any value. When EBCDIC is set, PCRE2 |
| 45 | assumes that all input strings are in EBCDIC. If you do not define this |
| 46 | macro, PCRE2 will assume input strings are ASCII or UTF-8/16/32 Unicode. It |
| 47 | is not possible to build a version of PCRE2 that supports both EBCDIC and |
| 48 | UTF-8/16/32. */ |
| 49 | /* #undef EBCDIC */ |
| 50 | |
| 51 | /* In an EBCDIC environment, define this macro to any value to arrange for the |
| 52 | NL character to be 0x25 instead of the default 0x15. NL plays the role that |
| 53 | LF does in an ASCII/Unicode environment. */ |
| 54 | /* #undef EBCDIC_NL25 */ |
| 55 | |
Elliott Hughes | c4b8830 | 2020-04-28 13:19:38 -0700 | [diff] [blame^] | 56 | /* Define this if your compiler supports __attribute__((uninitialized)) */ |
| 57 | #define HAVE_ATTRIBUTE_UNINITIALIZED 1 |
| 58 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 59 | /* Define to 1 if you have the `bcopy' function. */ |
| 60 | #define HAVE_BCOPY 1 |
| 61 | |
| 62 | /* Define to 1 if you have the <bzlib.h> header file. */ |
| 63 | /* #undef HAVE_BZLIB_H */ |
| 64 | |
| 65 | /* Define to 1 if you have the <dirent.h> header file. */ |
| 66 | #define HAVE_DIRENT_H 1 |
| 67 | |
| 68 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
| 69 | #define HAVE_DLFCN_H 1 |
| 70 | |
| 71 | /* Define to 1 if you have the <editline/readline.h> header file. */ |
| 72 | /* #undef HAVE_EDITLINE_READLINE_H */ |
| 73 | |
| 74 | /* Define to 1 if you have the <edit/readline/readline.h> header file. */ |
| 75 | /* #undef HAVE_EDIT_READLINE_READLINE_H */ |
| 76 | |
| 77 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| 78 | #define HAVE_INTTYPES_H 1 |
| 79 | |
| 80 | /* Define to 1 if you have the <limits.h> header file. */ |
| 81 | #define HAVE_LIMITS_H 1 |
| 82 | |
| 83 | /* Define to 1 if you have the `memmove' function. */ |
| 84 | #define HAVE_MEMMOVE 1 |
| 85 | |
| 86 | /* Define to 1 if you have the <memory.h> header file. */ |
| 87 | #define HAVE_MEMORY_H 1 |
| 88 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 89 | /* Define to 1 if you have the `mkostemp' function. */ |
| 90 | #define HAVE_MKOSTEMP 1 |
| 91 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 92 | /* Define if you have POSIX threads libraries and header files. */ |
| 93 | /* #undef HAVE_PTHREAD */ |
| 94 | |
| 95 | /* Have PTHREAD_PRIO_INHERIT. */ |
| 96 | /* #undef HAVE_PTHREAD_PRIO_INHERIT */ |
| 97 | |
| 98 | /* Define to 1 if you have the <readline/history.h> header file. */ |
| 99 | /* #undef HAVE_READLINE_HISTORY_H */ |
| 100 | |
| 101 | /* Define to 1 if you have the <readline/readline.h> header file. */ |
| 102 | /* #undef HAVE_READLINE_READLINE_H */ |
| 103 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 104 | /* Define to 1 if you have the `secure_getenv' function. */ |
| 105 | /* #undef HAVE_SECURE_GETENV */ |
| 106 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 107 | /* Define to 1 if you have the <stdint.h> header file. */ |
| 108 | #define HAVE_STDINT_H 1 |
| 109 | |
| 110 | /* Define to 1 if you have the <stdlib.h> header file. */ |
| 111 | #define HAVE_STDLIB_H 1 |
| 112 | |
| 113 | /* Define to 1 if you have the `strerror' function. */ |
| 114 | #define HAVE_STRERROR 1 |
| 115 | |
| 116 | /* Define to 1 if you have the <strings.h> header file. */ |
| 117 | #define HAVE_STRINGS_H 1 |
| 118 | |
| 119 | /* Define to 1 if you have the <string.h> header file. */ |
| 120 | #define HAVE_STRING_H 1 |
| 121 | |
| 122 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
| 123 | #define HAVE_SYS_STAT_H 1 |
| 124 | |
| 125 | /* Define to 1 if you have the <sys/types.h> header file. */ |
| 126 | #define HAVE_SYS_TYPES_H 1 |
| 127 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 128 | /* Define to 1 if you have the <sys/wait.h> header file. */ |
| 129 | #define HAVE_SYS_WAIT_H 1 |
| 130 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 131 | /* Define to 1 if you have the <unistd.h> header file. */ |
| 132 | #define HAVE_UNISTD_H 1 |
| 133 | |
| 134 | /* Define to 1 if the compiler supports simple visibility declarations. */ |
| 135 | #define HAVE_VISIBILITY 1 |
| 136 | |
| 137 | /* Define to 1 if you have the <windows.h> header file. */ |
| 138 | /* #undef HAVE_WINDOWS_H */ |
| 139 | |
| 140 | /* Define to 1 if you have the <zlib.h> header file. */ |
| 141 | #define HAVE_ZLIB_H 1 |
| 142 | |
Elliott Hughes | 653c210 | 2019-01-09 15:41:36 -0800 | [diff] [blame] | 143 | /* This limits the amount of memory that may be used while matching a pattern. |
| 144 | It applies to both pcre2_match() and pcre2_dfa_match(). It does not apply |
| 145 | to JIT matching. The value is in kibibytes (units of 1024 bytes). */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 146 | #define HEAP_LIMIT 20000000 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 147 | |
| 148 | /* The value of LINK_SIZE determines the number of bytes used to store links |
| 149 | as offsets within the compiled regex. The default is 2, which allows for |
Elliott Hughes | 653c210 | 2019-01-09 15:41:36 -0800 | [diff] [blame] | 150 | compiled patterns up to 65535 code units long. This covers the vast |
| 151 | majority of cases. However, PCRE2 can also be compiled to use 3 or 4 bytes |
| 152 | instead. This allows for longer patterns in extreme cases. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 153 | #define LINK_SIZE 2 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 154 | |
| 155 | /* Define to the sub-directory where libtool stores uninstalled libraries. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 156 | #define LT_OBJDIR ".libs/" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 157 | |
| 158 | /* The value of MATCH_LIMIT determines the default number of times the |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 159 | pcre2_match() function can record a backtrack position during a single |
Elliott Hughes | 653c210 | 2019-01-09 15:41:36 -0800 | [diff] [blame] | 160 | matching attempt. The value is also used to limit a loop counter in |
| 161 | pcre2_dfa_match(). There is a runtime interface for setting a different |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 162 | limit. The limit exists in order to catch runaway regular expressions that |
| 163 | take for ever to determine that they do not match. The default is set very |
| 164 | large so that it does not accidentally catch legitimate cases. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 165 | #define MATCH_LIMIT 10000000 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 166 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 167 | /* The above limit applies to all backtracks, whether or not they are nested. |
| 168 | In some environments it is desirable to limit the nesting of backtracking |
| 169 | (that is, the depth of tree that is searched) more strictly, in order to |
| 170 | restrict the maximum amount of heap memory that is used. The value of |
| 171 | MATCH_LIMIT_DEPTH provides this facility. To have any useful effect, it |
| 172 | must be less than the value of MATCH_LIMIT. The default is to use the same |
| 173 | value as MATCH_LIMIT. There is a runtime method for setting a different |
Elliott Hughes | 653c210 | 2019-01-09 15:41:36 -0800 | [diff] [blame] | 174 | limit. In the case of pcre2_dfa_match(), this limit controls the depth of |
| 175 | the internal nested function calls that are used for pattern recursions, |
| 176 | lookarounds, and atomic groups. */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 177 | #define MATCH_LIMIT_DEPTH MATCH_LIMIT |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 178 | |
| 179 | /* This limit is parameterized just in case anybody ever wants to change it. |
| 180 | Care must be taken if it is increased, because it guards against integer |
| 181 | overflow caused by enormously large patterns. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 182 | #define MAX_NAME_COUNT 10000 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 183 | |
| 184 | /* This limit is parameterized just in case anybody ever wants to change it. |
| 185 | Care must be taken if it is increased, because it guards against integer |
| 186 | overflow caused by enormously large patterns. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 187 | #define MAX_NAME_SIZE 32 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 188 | |
| 189 | /* Defining NEVER_BACKSLASH_C locks out the use of \C in all patterns. */ |
| 190 | /* #undef NEVER_BACKSLASH_C */ |
| 191 | |
| 192 | /* The value of NEWLINE_DEFAULT determines the default newline character |
| 193 | sequence. PCRE2 client programs can override this by selecting other values |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 194 | at run time. The valid values are 1 (CR), 2 (LF), 3 (CRLF), 4 (ANY), 5 |
| 195 | (ANYCRLF), and 6 (NUL). */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 196 | #define NEWLINE_DEFAULT 2 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 197 | |
| 198 | /* Name of package */ |
| 199 | #define PACKAGE "pcre2" |
| 200 | |
| 201 | /* Define to the address where bug reports for this package should be sent. */ |
| 202 | #define PACKAGE_BUGREPORT "" |
| 203 | |
| 204 | /* Define to the full name of this package. */ |
| 205 | #define PACKAGE_NAME "PCRE2" |
| 206 | |
| 207 | /* Define to the full name and version of this package. */ |
Elliott Hughes | 0c26e19 | 2019-08-07 12:24:46 -0700 | [diff] [blame] | 208 | #define PACKAGE_STRING "PCRE2 10.33" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 209 | |
| 210 | /* Define to the one symbol short name of this package. */ |
| 211 | #define PACKAGE_TARNAME "pcre2" |
| 212 | |
| 213 | /* Define to the home page for this package. */ |
| 214 | #define PACKAGE_URL "" |
| 215 | |
| 216 | /* Define to the version of this package. */ |
Elliott Hughes | 0c26e19 | 2019-08-07 12:24:46 -0700 | [diff] [blame] | 217 | #define PACKAGE_VERSION "10.33" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 218 | |
| 219 | /* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested |
| 220 | parentheses (of any kind) in a pattern. This limits the amount of system |
| 221 | stack that is used while compiling a pattern. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 222 | #define PARENS_NEST_LIMIT 250 |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 223 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 224 | /* The value of PCRE2GREP_BUFSIZE is the starting size of the buffer used by |
| 225 | pcre2grep to hold parts of the file it is searching. The buffer will be |
| 226 | expanded up to PCRE2GREP_MAX_BUFSIZE if necessary, for files containing |
| 227 | very long lines. The actual amount of memory used by pcre2grep is three |
| 228 | times this number, because it allows for the buffering of "before" and |
| 229 | "after" lines. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 230 | #define PCRE2GREP_BUFSIZE 20480 |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 231 | |
| 232 | /* The value of PCRE2GREP_MAX_BUFSIZE specifies the maximum size of the buffer |
| 233 | used by pcre2grep to hold parts of the file it is searching. The actual |
| 234 | amount of memory used by pcre2grep is three times this number, because it |
| 235 | allows for the buffering of "before" and "after" lines. */ |
| 236 | #define PCRE2GREP_MAX_BUFSIZE 1048576 |
| 237 | |
| 238 | /* to make a symbol visible */ |
| 239 | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default"))) |
| 240 | |
| 241 | /* to make a symbol visible */ |
| 242 | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default"))) |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 243 | |
| 244 | /* Define to any value to include debugging code. */ |
| 245 | /* #undef PCRE2_DEBUG */ |
| 246 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 247 | /* to make a symbol visible */ |
| 248 | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default"))) |
| 249 | |
| 250 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 251 | /* If you are compiling for a system other than a Unix-like system or |
| 252 | Win32, and it needs some magic to be inserted before the definition |
| 253 | of a function that is exported by the library, define this macro to |
| 254 | contain the relevant magic. If you do not define this macro, a suitable |
| 255 | __declspec value is used for Windows systems; in other environments |
| 256 | "extern" is used for a C compiler and "extern C" for a C++ compiler. |
| 257 | This macro apears at the start of every exported function that is part |
| 258 | of the external API. It does not appear on functions that are "external" |
| 259 | in the C sense, but which are internal to the library. */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 260 | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default"))) |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 261 | |
| 262 | /* Define to any value if linking statically (TODO: make nice with Libtool) */ |
| 263 | /* #undef PCRE2_STATIC */ |
| 264 | |
| 265 | /* Define to necessary symbol if this constant uses a non-standard name on |
| 266 | your system. */ |
| 267 | /* #undef PTHREAD_CREATE_JOINABLE */ |
| 268 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 269 | /* Define to any non-zero number to enable support for SELinux compatible |
| 270 | executable memory allocator in JIT. Note that this will have no effect |
| 271 | unless SUPPORT_JIT is also defined. */ |
| 272 | /* #undef SLJIT_PROT_EXECUTABLE_ALLOCATOR */ |
| 273 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 274 | /* Define to 1 if you have the ANSI C header files. */ |
| 275 | #define STDC_HEADERS 1 |
| 276 | |
| 277 | /* Define to any value to enable support for Just-In-Time compiling. */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 278 | /* #undef SUPPORT_JIT */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 279 | |
| 280 | /* Define to any value to allow pcre2grep to be linked with libbz2, so that it |
| 281 | is able to handle .bz2 files. */ |
| 282 | /* #undef SUPPORT_LIBBZ2 */ |
| 283 | |
| 284 | /* Define to any value to allow pcre2test to be linked with libedit. */ |
| 285 | /* #undef SUPPORT_LIBEDIT */ |
| 286 | |
| 287 | /* Define to any value to allow pcre2test to be linked with libreadline. */ |
| 288 | /* #undef SUPPORT_LIBREADLINE */ |
| 289 | |
| 290 | /* Define to any value to allow pcre2grep to be linked with libz, so that it |
| 291 | is able to handle .gz files. */ |
| 292 | /* #undef SUPPORT_LIBZ */ |
| 293 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 294 | /* Define to any value to enable callout script support in pcre2grep. */ |
| 295 | #define SUPPORT_PCRE2GREP_CALLOUT /**/ |
| 296 | |
Elliott Hughes | 0c26e19 | 2019-08-07 12:24:46 -0700 | [diff] [blame] | 297 | /* Define to any value to enable fork support in pcre2grep callout scripts. |
| 298 | This will have no effect unless SUPPORT_PCRE2GREP_CALLOUT is also defined. |
| 299 | */ |
| 300 | #define SUPPORT_PCRE2GREP_CALLOUT_FORK /**/ |
| 301 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 302 | /* Define to any value to enable JIT support in pcre2grep. Note that this will |
| 303 | have no effect unless SUPPORT_JIT is also defined. */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 304 | /* #undef SUPPORT_PCRE2GREP_JIT */ |
| 305 | |
| 306 | /* Define to any value to enable the 16 bit PCRE2 library. */ |
| 307 | /* #undef SUPPORT_PCRE2_16 */ |
| 308 | |
| 309 | /* Define to any value to enable the 32 bit PCRE2 library. */ |
| 310 | /* #undef SUPPORT_PCRE2_32 */ |
| 311 | |
| 312 | /* Define to any value to enable the 8 bit PCRE2 library. */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 313 | #define SUPPORT_PCRE2_8 /**/ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 314 | |
| 315 | /* Define to any value to enable support for Unicode and UTF encoding. This |
| 316 | will work even in an EBCDIC environment, but it is incompatible with the |
| 317 | EBCDIC macro. That is, PCRE2 can support *either* EBCDIC code *or* |
| 318 | ASCII/Unicode, but not both at once. */ |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 319 | #define SUPPORT_UNICODE /**/ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 320 | |
| 321 | /* Define to any value for valgrind support to find invalid memory reads. */ |
| 322 | /* #undef SUPPORT_VALGRIND */ |
| 323 | |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 324 | /* Enable extensions on AIX 3, Interix. */ |
| 325 | #ifndef _ALL_SOURCE |
| 326 | # define _ALL_SOURCE 1 |
| 327 | #endif |
| 328 | /* Enable GNU extensions on systems that have them. */ |
| 329 | #ifndef _GNU_SOURCE |
| 330 | # define _GNU_SOURCE 1 |
| 331 | #endif |
| 332 | /* Enable threading extensions on Solaris. */ |
| 333 | #ifndef _POSIX_PTHREAD_SEMANTICS |
| 334 | # define _POSIX_PTHREAD_SEMANTICS 1 |
| 335 | #endif |
| 336 | /* Enable extensions on HP NonStop. */ |
| 337 | #ifndef _TANDEM_SOURCE |
| 338 | # define _TANDEM_SOURCE 1 |
| 339 | #endif |
| 340 | /* Enable general extensions on Solaris. */ |
| 341 | #ifndef __EXTENSIONS__ |
| 342 | # define __EXTENSIONS__ 1 |
| 343 | #endif |
| 344 | |
| 345 | |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 346 | /* Version number of package */ |
Elliott Hughes | 0c26e19 | 2019-08-07 12:24:46 -0700 | [diff] [blame] | 347 | #define VERSION "10.33" |
Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 348 | |
| 349 | /* Define to 1 if on MINIX. */ |
| 350 | /* #undef _MINIX */ |
| 351 | |
| 352 | /* Define to 2 if the system does not provide POSIX.1 features except with |
| 353 | this defined. */ |
| 354 | /* #undef _POSIX_1_SOURCE */ |
| 355 | |
| 356 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 357 | /* #undef _POSIX_SOURCE */ |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 358 | |
| 359 | /* Define to empty if `const' does not conform to ANSI C. */ |
| 360 | /* #undef const */ |
| 361 | |
| 362 | /* Define to the type of a signed integer type of width exactly 64 bits if |
| 363 | such a type exists and the standard includes do not define it. */ |
| 364 | /* #undef int64_t */ |
| 365 | |
| 366 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 367 | /* #undef size_t */ |