summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorAndreas Karajannis <kara@php.net>1999-12-30 17:11:47 +0000
committerAndreas Karajannis <kara@php.net>1999-12-30 17:11:47 +0000
commit7c88c6fce1818a0f652e6488e8907a6ed64ff48b (patch)
tree4356994b9550c89086a6975772db8000604a27f1 /ext/odbc/php_odbc.h
parent5b2ecc5b827823be7f1c2977e9158f6b1462cdb0 (diff)
downloadphp-git-7c88c6fce1818a0f652e6488e8907a6ed64ff48b.tar.gz
Replaced some ODBC 3 stuff to be backwards compatible to ODBC 2
Diffstat (limited to 'ext/odbc/php_odbc.h')
-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 aa37156321..0539c25050 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -69,6 +69,7 @@ PHP_FUNCTION(solid_fetch_prev);
#include <sql.h>
#include <sqlext.h>
#define HAVE_SQL_EXTENDED_FETCH 1
+#define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
#elif defined(HAVE_IODBC) /* iODBC library */