summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-31 00:38:22 +0000
committerSascha Schumann <sas@php.net>1999-12-31 00:38:22 +0000
commitf5bf967660f1ddb0cfaa3c975f9768921f7501c9 (patch)
treedc01f6d5774cdb450f90cc7ccd19fa0e5d580c11
parent797b8885c56c59e56ab63d653c434f26b00c32c2 (diff)
downloadphp-git-f5bf967660f1ddb0cfaa3c975f9768921f7501c9.tar.gz
Fix linking problems with iODBC. This is from the Adabas section, so
this might work for iODBC.
-rw-r--r--ext/odbc/php_odbc.h1
1 files changed, 1 insertions, 0 deletions
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 */