From f5bf967660f1ddb0cfaa3c975f9768921f7501c9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 31 Dec 1999 00:38:22 +0000 Subject: [PATCH] Fix linking problems with iODBC. This is from the Adabas section, so this might work for iODBC. --- ext/odbc/php_odbc.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.50.1