Set correct Win32 line endings and fix ZTS compilation

This commit is contained in:
Frank M. Kromann 2004-05-19 18:04:47 +00:00
parent 074ba3fbc0
commit 7c5c0fbbea

View File

@ -290,7 +290,7 @@ static PHP_METHOD(PDO, affectedRows)
if (!dbh->methods->affected) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver affected rows retrieval.");
} else {
RETURN_LONG(dbh->methods->affected(dbh));
RETURN_LONG(dbh->methods->affected(dbh TSRMLS_CC));
}
}
/* }}} */
@ -308,7 +308,7 @@ static PHP_METHOD(PDO, lastInsertId)
if (!dbh->methods->last_id) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver last inserted id retrieval.");
} else {
RETURN_LONG(dbh->methods->last_id(dbh));
RETURN_LONG(dbh->methods->last_id(dbh TSRMLS_CC));
}
}
/* }}} */