SQL_SUCCEEDED undefined for Openlink

From: Date: Tue, 29 Feb 2000 19:17:11 +0000
Subject: SQL_SUCCEEDED undefined for Openlink
Groups: php.version4 
Request: Send a blank email to php-version4+get-11194@lists.php.net to get a copy of this message
I'm getting an error message when compiling Apache against the current CVS version of PHP4, that says that SQL_SUCCEEDED is undefined. I'm using the --with-openlink option. I took a look at ext/odbc/php_odbc.h, and I saw that SQL_SUCCEEDED is defined for iodbc, but not for Openlink. Under the theory that Openlink is pretty much the same thing as iodbc, I added the following to the Openlink section of php_odbc.h & rebuilt everything: #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) Seems to work now. If this is a proper fix, then could someone with CVS access make the change? Thanks, Brian

« previous php.version4 (#11194) next »