summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-04-07 18:34:02 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-04-07 18:34:02 +0200
commite6f86fb17cd3a2dfe94ca1a0113a23194cb1915a (patch)
tree028ad5b371ab7ba81cd3c35031e50f512e9a372c /ext/pcre/php_pcre.h
parente4a563b0c0f65ea26382f81ac24bf0a30baf257a (diff)
parente06836a1a345d0f6975036dc6c0cf7596aa07031 (diff)
downloadphp-git-e6f86fb17cd3a2dfe94ca1a0113a23194cb1915a.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Remove checks for locale.h, setlocale, localeconv
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index b59f16e898..1a28d1733a 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -25,9 +25,7 @@
#include "pcre2.h"
#endif
-#if HAVE_LOCALE_H
#include <locale.h>
-#endif
PHPAPI zend_string *php_pcre_replace(zend_string *regex, zend_string *subject_str, char *subject, size_t subject_len, zend_string *replace_str, size_t limit, size_t *replace_count);
PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count);