diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-06-19 17:41:01 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-06-19 17:41:01 +0000 |
commit | a43797e45dc327afb673c998a82756d259f0c373 (patch) | |
tree | d163c23f896d76d751f58acfb5218123588731fc /src/config.h.generic | |
parent | 4e220824c1a8f9e3549246f42e2e19eb265d85a0 (diff) | |
download | pcre2-a43797e45dc327afb673c998a82756d259f0c373.tar.gz |
Make stdint.h an optional inclusion, in case it's not present in some systems.
Use inttypes.h instead if it exists.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@940 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/config.h.generic')
-rw-r--r-- | src/config.h.generic | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.h.generic b/src/config.h.generic index dfce8a7..a21213a 100644 --- a/src/config.h.generic +++ b/src/config.h.generic @@ -18,10 +18,10 @@ to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H, but if you do, default values will be taken from config.h for non-boolean macros that are not defined on the command line. -Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be defined -(conventionally to 1) for TRUE, and not defined at all for FALSE. All such -macros are listed as a commented #undef in config.h.generic. Macros such as -MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are +Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be +defined (conventionally to 1) for TRUE, and not defined at all for FALSE. All +such macros are listed as a commented #undef in config.h.generic. Macros such +as MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are surrounded by #ifndef/#endif lines so that the value can be overridden by -D. PCRE2 uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if |