com php-src: define corresponding config macros, as we already trick symbols: main/php.h
| From: | Anatol Belski | Date: | Sun, 19 Mar 2017 22:11:19 +0000 |
| Subject: | com php-src: define corresponding config macros, as we already trick symbols: main/php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97352@lists.php.net to get a copy of this message | ||
Commit: 5d5679c4a9e2f04f14b87167f7c87e77d69ff102
Author: Anatol Belski <ab@php.net> Sun, 19 Mar 2017 22:14:14 +0100
Parents: 93035cb2fde73499dad8a112a75364afd4e16170
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5d5679c4a9e2f04f14b87167f7c87e77d69ff102
Log:
define corresponding config macros, as we already trick symbols
Changed paths:
M main/php.h
Diff:
diff --git a/main/php.h b/main/php.h
index d08aa21..5a5dd40 100644
--- a/main/php.h
+++ b/main/php.h
@@ -181,6 +181,7 @@ PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz);
END_EXTERN_C()
#undef strlcpy
#define strlcpy php_strlcpy
+#define HAVE_STRLCPY 1
#endif
#ifndef HAVE_STRLCAT
@@ -189,6 +190,7 @@ PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz);
END_EXTERN_C()
#undef strlcat
#define strlcat php_strlcat
+#define HAVE_STRLCAT 1
#endif
#ifndef HAVE_EXPLICIT_BZERO