diff options
author | Wez Furlong <wez@php.net> | 2005-02-13 01:32:27 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-02-13 01:32:27 +0000 |
commit | 4dc3b755698734ffcde613d5ebfd4e7ed378e934 (patch) | |
tree | ef9b868957fb8280803564834cfa78b19ff9ab77 /ext/pdo_dblib/config.w32 | |
parent | 68de0d75b0db63a6c67e86c0b5801d95178a41c8 (diff) | |
download | php-git-4dc3b755698734ffcde613d5ebfd4e7ed378e934.tar.gz |
possible fix for snaps box
Diffstat (limited to 'ext/pdo_dblib/config.w32')
-rwxr-xr-x | ext/pdo_dblib/config.w32 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/pdo_dblib/config.w32 b/ext/pdo_dblib/config.w32 index 1ebdaf637a..0a87961991 100755 --- a/ext/pdo_dblib/config.w32 +++ b/ext/pdo_dblib/config.w32 @@ -45,8 +45,12 @@ if (PHP_PDO_MSSQL != "no") { CHECK_HEADER_ADD_INCLUDE("sqlfront.h", "CFLAGS_PDO_MSSQL", pdo_mssql_locations[i] + "\\DevTools\\Include", null, null, true)) { - pdo_mssql_locations[i].match(new RegExp("(\\d)")); - PDO_DBLIB_FLAVOUR = RegExp.$1 + 0; + if (pdo_mssql_locations[i] == 'yes') { + PDO_DBLIB_FLAVOUR = 'UNKNOWN'; + } else { + pdo_mssql_locations[i].match(new RegExp("(\\d)")); + PDO_DBLIB_FLAVOUR = RegExp.$1 + 0; + } break; } } |