Sync ODBC version (#12922)

When passing `--without-odbcver` or `--with-odbcver=no` to configure,
the ODBC version has been designed to be highest supported version
(0x0350). This syncs the behavior with the Windows build system.
This commit is contained in:
Peter Kokot 2023-12-11 09:55:30 +01:00 committed by GitHub
parent 82349769b0
commit 07a4f89c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -439,7 +439,7 @@ if test "no" != "$PHP_ODBCVER"; then
AC_DEFINE_UNQUOTED(ODBCVER, $PHP_ODBCVER, [ The highest supported ODBC version ]) AC_DEFINE_UNQUOTED(ODBCVER, $PHP_ODBCVER, [ The highest supported ODBC version ])
fi fi
else else
AC_DEFINE(ODBCVER, 0x0300, [ The highest supported ODBC version ]) AC_DEFINE(ODBCVER, 0x0350, [ The highest supported ODBC version ])
fi fi
dnl Extension setup dnl Extension setup