summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2005-08-06 05:42:51 +0000
committerFrank M. Kromann <fmk@php.net>2005-08-06 05:42:51 +0000
commit7675a858286e9694a82f566cc4e05661d2bd3988 (patch)
tree608699298543057881cebf0987d47861c3d53df0 /ext/sybase_ct
parent2f4ee2fc86b7da6796c48678a4f276d539a83a41 (diff)
downloadphp-git-7675a858286e9694a82f566cc4e05661d2bd3988.tar.gz
Fix for #32531
No need to alias these functions on windows or if the mssql extension is compiled. This change will allow the use of both extensions at the same time.
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index 817409bc2a..ce20b9d0d4 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -62,6 +62,7 @@ function_entry sybase_functions[] = {
PHP_FE(sybase_set_message_handler, NULL)
PHP_FE(sybase_deadlock_retry_count, NULL)
+#if !defined(PHP_WIN32) && !defined(HAVE_MSSQL)
PHP_FALIAS(mssql_connect, sybase_connect, NULL)
PHP_FALIAS(mssql_pconnect, sybase_pconnect, NULL)
PHP_FALIAS(mssql_close, sybase_close, NULL)
@@ -85,6 +86,7 @@ function_entry sybase_functions[] = {
PHP_FALIAS(mssql_min_server_severity, sybase_min_server_severity, NULL)
PHP_FALIAS(mssql_set_message_handler, sybase_set_message_handler, NULL)
PHP_FALIAS(mssql_deadlock_retry_count, sybase_deadlock_retry_count, NULL)
+#endif
{NULL, NULL, NULL}
};