From: Dan Kalowsky Date: Thu, 16 Jan 2003 16:27:31 +0000 (+0000) Subject: Adding in test ability for WIndows to fetch_objects X-Git-Tag: PHP_5_0_dev_before_13561_fix~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae8f64e3253e751caa59e78888aff44738f6bf4f;p=php Adding in test ability for WIndows to fetch_objects --- diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 1b2c3e9676..575aff57b5 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -84,7 +84,7 @@ function_entry odbc_functions[] = { PHP_FE(odbc_error, NULL) PHP_FE(odbc_errormsg, NULL) PHP_FE(odbc_exec, NULL) -#ifdef HAVE_DBMAKER +#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) PHP_FE(odbc_fetch_array, NULL) PHP_FE(odbc_fetch_object, NULL) #endif @@ -1346,7 +1346,7 @@ PHP_FUNCTION(odbc_exec) } /* }}} */ -#ifdef HAVE_DBMAKER +#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) #define ODBC_NUM 1 #define ODBC_OBJECT 2 diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index 8c2cafe32e..2bf1d8778a 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -54,7 +54,7 @@ PHP_FUNCTION(odbc_data_source); PHP_FUNCTION(odbc_do); PHP_FUNCTION(odbc_exec); PHP_FUNCTION(odbc_execute); -#ifdef HAVE_DBMAKER +#if defined(HAVE_DBMAKER) || deifned(PHP_WIN32) PHP_FUNCTION(odbc_fetch_array); PHP_FUNCTION(odbc_fetch_object); #endif