RE: [PHP-CVS] com php-src: Hmm actually it seems to be the other way around, Anatol?: ext/odbc/config.w32
| From: | Anatol Belski | Date: | Thu, 22 Dec 2016 11:43:53 +0000 |
| Subject: | RE: [PHP-CVS] com php-src: Hmm actually it seems to be the other way around, Anatol?: ext/odbc/config.w32 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-96423@lists.php.net to get a copy of this message | ||
Hi Kalle,
> -----Original Message-----
> From: Kalle Sommer Nielsen [mailto:kalle@php.net]
> Sent: Thursday, December 22, 2016 5:53 AM
> To: php-cvs@lists.php.net
> Subject: [PHP-CVS] com php-src: Hmm actually it seems to be the other way
> around, Anatol?: ext/odbc/config.w32
>
Yes, raised to 3.5 for 7.1 already as a preliminary forward compatibility measure. The code itself
doesn't profit of any 3.5 only features yet.
Regards
Anatol
> Commit: a569d003e268dabf3a681f04e58313a13a51e59a
> Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 22 Dec 2016 05:53:13
> +0100
> Parents: f0f3cb6ab5f6db1221beecc2b0e69085d08ac637
> Branches: master
>
> Link: http://git.php.net/?p=php-
> src.git;a=commitdiff;h=a569d003e268dabf3a681f04e58313a13a51e59a
>
> Log:
> Hmm actually it seems to be the other way around, Anatol?
>
> Changed paths:
> M ext/odbc/config.w32
>
>
> Diff:
> diff --git a/ext/odbc/config.w32 b/ext/odbc/config.w32
> index 703eab6..9b45e1e 100644
> --- a/ext/odbc/config.w32
> +++ b/ext/odbc/config.w32
> @@ -2,7 +2,7 @@
> // vim:ft=javascript
>
> ARG_ENABLE("odbc", "ODBC support", "no");
> -ARG_WITH("odbcver", "Force support for the passed ODBC version. A hex
> number is expected, default 0x0350. Use the special value of 0 to prevent an
> explicit ODBCVER to be defined.", "0x0300");
> +ARG_WITH("odbcver", "Force support for the passed ODBC version. A hex
> number is expected, default 0x0350. Use the special value of 0 to prevent an
> explicit ODBCVER to be defined.", "0x0350");
>
> if (PHP_ODBC == "yes") {
> if (CHECK_LIB("odbc32.lib", "odbc") &&
> CHECK_LIB("odbccp32.lib",
> "odbc")
> @@ -11,7 +11,7 @@ if (PHP_ODBC == "yes") {
> EXTENSION("odbc", "php_odbc.c", PHP_ODBC_SHARED,
> "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
> AC_DEFINE("HAVE_UODBC", 1, "ODBC support");
> if ("no" == PHP_ODBCVER) {
> - AC_DEFINE("ODBCVER", "0x0300", "The highest
> supported ODBC version", false);
> + AC_DEFINE("ODBCVER", "0x0350", "The highest
> supported ODBC version", false);
> } else if ("0" != PHP_ODBCVER) {
> AC_DEFINE("ODBCVER", PHP_ODBCVER, "The highest
> supported ODBC version", false);
> }
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php