mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
MFB
This commit is contained in:
+2
-4
@@ -13,8 +13,8 @@ if test "$PHP_MSSQL" != "no"; then
|
||||
if test "$PHP_MSSQL" = "yes"; then
|
||||
|
||||
for i in /usr/local /usr; do
|
||||
if test -f $i/freetds/include/tds.h; then
|
||||
FREETDS_INSTALLATION_DIR=$i/freetds
|
||||
if test -f $i/include/tds.h; then
|
||||
FREETDS_INSTALLATION_DIR=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
@@ -27,8 +27,6 @@ if test "$PHP_MSSQL" != "no"; then
|
||||
|
||||
if test -f $PHP_MSSQL/include/tds.h; then
|
||||
FREETDS_INSTALLATION_DIR=$PHP_MSSQL
|
||||
elif test -f $PHP_MSSQL/freetds/include/tds.h; then
|
||||
FREETDS_INSTALLATION_DIR=$PHP_MSSQL/freetds
|
||||
else
|
||||
AC_MSG_ERROR(Directory $PHP_MSSQL is not a FreeTDS installation directory)
|
||||
fi
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
#define NO_MORE_RPC_RESULTS 3
|
||||
#define dbfreelogin dbloginfree
|
||||
#define dbrpcexec dbrpcsend
|
||||
typedef unsigned char *LPBYTE;
|
||||
typedef unsigned char *LPBYTE;
|
||||
typedef float DBFLT4;
|
||||
#else
|
||||
#define DBERRHANDLE(a, b) dbprocerrhandle(a, b)
|
||||
#define DBMSGHANDLE(a, b) dbprocmsghandle(a, b)
|
||||
|
||||
Reference in New Issue
Block a user