mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Added a check to ensure that string.h is avaliable before trying to use it.
Thanks Andi.
This commit is contained in:
parent
738b662b72
commit
957aeb83e3
@ -25,7 +25,12 @@
|
||||
#include "zend_constants.h"
|
||||
#include "zend_ini.h"
|
||||
|
||||
#if HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#undef ZEND_TEST_EXCEPTIONS
|
||||
|
||||
static ZEND_FUNCTION(zend_version);
|
||||
|
Loading…
Reference in New Issue
Block a user