summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 57e37ba594..658cac6976 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -54,6 +54,7 @@
PHP_FUNCTION(solid_fetch_prev);
#define SQLSMALLINT SWORD
#define SQLUSMALLINT UWORD
+#define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
#elif defined(HAVE_EMPRESS) /* Empress */