From: Adam Baratz Date: Thu, 27 Oct 2016 16:15:45 +0000 (-0400) Subject: Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h. X-Git-Tag: php-7.2.0alpha1~1028 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=886e721356eb311fbf2dbeca91575b93d585168e;p=php Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h. --- diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 7e7b8ed568..74e91a84b1 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -384,11 +384,7 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, break; } -#ifdef SQLUNIQUE case SQLUNIQUE: { -#else - case 36: { /* FreeTDS hack */ -#endif if (H->stringify_uniqueidentifier) { // 36-char hex string representation tmp_data_len = 36; tmp_data = safe_emalloc(tmp_data_len, sizeof(char), 1);