From: Sascha Schumann Date: Fri, 31 Dec 1999 00:38:22 +0000 (+0000) Subject: Fix linking problems with iODBC. This is from the Adabas section, so X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5bf967660f1ddb0cfaa3c975f9768921f7501c9;p=php Fix linking problems with iODBC. This is from the Adabas section, so this might work for iODBC. --- diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index 0539c25050..e716de339d 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -83,6 +83,7 @@ PHP_FUNCTION(solid_fetch_prev); #define SQL_SO_DYNAMIC 0x00000004L #define SQL_LEN_DATA_AT_EXEC_OFFSET (-100) #define SQL_LEN_DATA_AT_EXEC(length) (-(length)+SQL_LEN_DATA_AT_EXEC_OFFSET) +#define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) #elif defined(HAVE_UNIXODBC) /* unixODBC library */