summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
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 */