summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-05-02 00:40:20 +0000
committerfoobar <sniper@php.net>2003-05-02 00:40:20 +0000
commit20d88e4c349ab11638329a2f57d904edd6bf6227 (patch)
tree280d7b6a79f9ca5f50d793bf4561619474f21862 /ext/odbc/php_odbc.h
parentf60a08629111fe7e61e44f9950c0ecca6ed637bd (diff)
downloadphp-git-20d88e4c349ab11638329a2f57d904edd6bf6227.tar.gz
- Fixed bug #22580 (ext/odbc compile failure with dbmaker)
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index 75e7f82a5c..2ffc3459a1 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -54,7 +54,9 @@ PHP_FUNCTION(odbc_commit);
PHP_FUNCTION(odbc_connect);
PHP_FUNCTION(odbc_pconnect);
PHP_FUNCTION(odbc_cursor);
+#ifdef HAVE_SQLDATASOURCES
PHP_FUNCTION(odbc_data_source);
+#endif
PHP_FUNCTION(odbc_do);
PHP_FUNCTION(odbc_exec);
PHP_FUNCTION(odbc_execute);