Fix Win32 (and maybe other ZTS) builds.

This commit is contained in:
Sebastian Bergmann 2001-08-04 05:22:55 +00:00
parent 5bdc64c505
commit ea79632b29
2 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,7 @@ PHPAPI char *php_stristr(unsigned char *s, unsigned char *t, size_t s_len, size_
PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
int needle_len, char *str, int str_len, int *_new_length);
PHPAPI void php_trim(pval *str, pval *return_value, int mode);
void php_trim2(zval *str, zval *what, zval *return_value, int mode);
PHPAPI void php_trim2(zval *str, zval *what, zval *return_value, int mode);
PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allow_len);
PHPAPI void php_char_to_str(char *str, uint len, char from, char *to, int to_len, pval *result);

View File

@ -185,6 +185,7 @@ static inline void php_var_serialize_string(smart_str *buf, char *str, int len)
static inline void php_var_serialize_class_name(smart_str *buf, zval **struc)
{
PHP_CLASS_ATTRIBUTES;
TSRMLS_FETCH();
PHP_SET_CLASS_ATTRIBUTES(*struc);
smart_str_appendl(buf, "O:", 2);