Added a check to ensure that string.h is avaliable before trying to use it.

Thanks Andi.
This commit is contained in:
Ilia Alshanetsky 2003-02-07 19:26:49 +00:00
parent 738b662b72
commit 957aeb83e3

View File

@ -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);