1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00

- Fixed bug #52436 (Compile error in pcre if systems do not have stdint.h)

# PCRE's config.h can very well reuse the definitions made available from
# PHP's configure script output available within php_config.h
This commit is contained in:
Sriram Natarajan
2010-07-27 21:42:22 +00:00
parent 39b4a5eea7
commit e4be370479

View File

@@ -1,5 +1,7 @@
#include <php_compat.h>
#include <php_config.h>
#undef PACKAGE_NAME
#undef PACKAGE_VERSION
#undef PACKAGE_TARNAME
@@ -18,6 +20,8 @@
# define PCRE_EXP_DATA_DEFN __attribute__ ((visibility("default")))
#endif
/* Exclude these below definitions when building within PHP */
#ifndef ZEND_API
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
@@ -189,6 +193,9 @@ them both to 0; an emulation function will be used. */
/* Define to 1 if you have `_strtoi64'. */
/* #undef HAVE__STRTOI64 */
/* Exclude these above definitions when building within PHP */
#endif
/* The value of LINK_SIZE determines the number of bytes used to store links
as offsets within the compiled regex. The default is 2, which allows for
compiled patterns up to 64K long. This covers the vast majority of cases.