cvs: /php4/ext/odbc php_odbc.h
| From: | Sascha Schumann | Date: | Fri, 31 Dec 1999 00:38:53 +0000 |
| Subject: | cvs: /php4/ext/odbc php_odbc.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8738@lists.php.net to get a copy of this message | ||
sas Thu Dec 30 19:38:53 1999 EDT
Modified files:
/php4/ext/odbc php_odbc.h
Log:
Fix linking problems with iODBC. This is from the Adabas section, so
this might work for iODBC.
Index: php4/ext/odbc/php_odbc.h
diff -u php4/ext/odbc/php_odbc.h:1.12 php4/ext/odbc/php_odbc.h:1.13
--- php4/ext/odbc/php_odbc.h:1.12 Thu Dec 30 12:11:47 1999
+++ php4/ext/odbc/php_odbc.h Thu Dec 30 19:38:22 1999
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.h,v 1.12 1999/12/30 17:11:47 kara Exp $ */
+/* $Id: php_odbc.h,v 1.13 1999/12/31 00:38:22 sas Exp $ */
#ifndef _PHP_ODBC_H
#define _PHP_ODBC_H
@@ -83,6 +83,7 @@
#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 */