mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Remove obsolescent AC_HEADER_STDC and memcpy check
This commit is contained in:
commit
ac6b9b0b7f
8 changed files with 3 additions and 29 deletions
12
main/php.h
12
main/php.h
|
@ -230,17 +230,7 @@ typedef unsigned int socklen_t;
|
|||
#include "zend_hash.h"
|
||||
#include "zend_alloc.h"
|
||||
#include "zend_stack.h"
|
||||
|
||||
#if STDC_HEADERS
|
||||
# include <string.h>
|
||||
#else
|
||||
# ifndef HAVE_MEMCPY
|
||||
# define memcpy(d, s, n) bcopy((s), (d), (n))
|
||||
# endif
|
||||
# ifndef HAVE_MEMMOVE
|
||||
# define memmove(d, s, n) bcopy ((s), (d), (n))
|
||||
# endif
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#ifndef HAVE_STRERROR
|
||||
char *strerror(int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue