Skip to content

Commit c03ec39

Browse files
petkdunglas
authored andcommitted
phpGH-10141: Fix typo
In configure.ac check for function strerror_r defines constant HAVE_STRERROR_R.
1 parent ca5d482 commit c03ec39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_noreturn(int type, const char *
16491649

16501650
ZEND_API ZEND_COLD ZEND_NORETURN void zend_strerror_noreturn(int type, int errn, const char *message)
16511651
{
1652-
#ifdef HAVE_STR_ERROR_R
1652+
#ifdef HAVE_STRERROR_R
16531653
char buf[1024];
16541654
strerror_r(errn, buf, sizeof(buf));
16551655
#else

0 commit comments

Comments
 (0)