]> granicus.if.org Git - php/commitdiff
Fix linking problems with iODBC. This is from the Adabas section, so
authorSascha Schumann <sas@php.net>
Fri, 31 Dec 1999 00:38:22 +0000 (00:38 +0000)
committerSascha Schumann <sas@php.net>
Fri, 31 Dec 1999 00:38:22 +0000 (00:38 +0000)
this might work for iODBC.

ext/odbc/php_odbc.h

index 0539c250506c84ff3cba20587aff1512abfc82dc..e716de339d1e8dce32f8ba6c55c72f90349b22c4 100644 (file)
@@ -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 */