mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: fix #ifdef usage
This commit is contained in:
commit
d45f478454
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr,
|
|||
dbdatecrack(H->link, &di, &dt);
|
||||
|
||||
*len = spprintf((char**) &tmp_ptr, 20, "%d-%02d-%02d %02d:%02d:%02d",
|
||||
#ifdef PHP_DBLIB_IS_MSSQL || MSDBLIB
|
||||
#if defined(PHP_DBLIB_IS_MSSQL) || defined(MSDBLIB)
|
||||
di.year, di.month, di.day, di.hour, di.minute, di.second
|
||||
#else
|
||||
di.dateyear, di.datemonth+1, di.datedmonth, di.datehour, di.dateminute, di.datesecond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue