From 0916b5f9072f7bd1b7b045ceb07758f9dc097ac2 Mon Sep 17 00:00:00 2001 From: Vincent Peyruqueou Date: Mon, 27 Mar 2023 11:46:59 +0200 Subject: Add sources of PCRE and Microsoft Visual Studio solutions to compile the lib --- pcre/win32/config.h | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pcre/win32/config.h (limited to 'pcre/win32/config.h') diff --git a/pcre/win32/config.h b/pcre/win32/config.h new file mode 100644 index 0000000..68568c6 --- /dev/null +++ b/pcre/win32/config.h @@ -0,0 +1,62 @@ +/* Originally generated by CMake and then modified for pcre-win-build. */ +/* config.h for CMake builds */ + +/* #undef HAVE_DIRENT_H */ +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +/* #undef HAVE_UNISTD_H */ +#define HAVE_WINDOWS_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_INTTYPES_H 1 + +/* #undef HAVE_TYPE_TRAITS_H */ +/* #undef HAVE_BITS_TYPE_TRAITS_H */ + +/* #undef HAVE_BCOPY */ +#define HAVE_MEMMOVE 1 +#define HAVE_STRERROR 1 +#if !defined(_MSC_VER) || _MSC_VER >= 1800 +#define HAVE_STRTOLL 1 +#else +/* #undef HAVE_STRTOLL */ +#endif +/* #undef HAVE_STRTOQ */ +#define HAVE__STRTOI64 1 + +/* #undef PCRE_STATIC */ /* Defined through project settings. */ + +#define SUPPORT_PCRE8 1 +#define SUPPORT_PCRE16 1 +#define SUPPORT_PCRE32 1 +#define SUPPORT_JIT 1 +#define SUPPORT_PCREGREP_JIT 1 +#define SUPPORT_UTF 1 +#define SUPPORT_UCP 1 +/* #undef EBCDIC */ +/* #undef EBCDIC_NL25 */ +/* #undef BSR_ANYCRLF */ +/* #undef NO_RECURSE */ + +#define HAVE_LONG_LONG 1 +#define HAVE_UNSIGNED_LONG_LONG 1 + +/* #undef SUPPORT_LIBBZ2 */ +/* #undef SUPPORT_LIBZ */ +/* #undef SUPPORT_LIBEDIT */ +/* #undef SUPPORT_LIBREADLINE */ + +/* #undef SUPPORT_VALGRIND */ +/* #undef SUPPORT_GCOV */ + +#define NEWLINE 10 +#define POSIX_MALLOC_THRESHOLD 10 +#define LINK_SIZE 2 +#define PARENS_NEST_LIMIT 250 +#define MATCH_LIMIT 10000000 +#define MATCH_LIMIT_RECURSION MATCH_LIMIT +#define PCREGREP_BUFSIZE 20480 + +#define MAX_NAME_SIZE 32 +#define MAX_NAME_COUNT 10000 + +/* end config.h for CMake builds */ -- cgit v1.1