Browse Source

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

Thanks Andi.
PHP-5
Ilia Alshanetsky 23 years ago
parent
commit
957aeb83e3
  1. 5
      Zend/zend_builtin_functions.c

5
Zend/zend_builtin_functions.c

@ -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…
Cancel
Save