Fixed compilation on Windows

This commit is contained in:
Dmitry Stogov 2014-07-15 15:50:42 +04:00
parent bcc677789c
commit b4c2bd2277
5 changed files with 12 additions and 8 deletions

View file

@ -146,8 +146,9 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_
return ret;
}
static void delete_internal_hashtable(void *data)
static void delete_internal_hashtable(zval *zv)
{
void *data = Z_PTR_P(zv);
zend_hash_destroy(*(HashTable**)data);
free(*(HashTable**)data);
}

View file

@ -616,8 +616,8 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
return (res);
}
PHPAPI zend_string *php_str_to_str(char *haystack, int length, char *needle,
int needle_len, char *str, int str_len);
//???PHPAPI zend_string *php_str_to_str(char *haystack, int length, char *needle,
//??? int needle_len, char *str, int str_len);
/* Escape \n. sequences
* We use php_str_to_str() and not php_str_replace_in_subject(), since the latter