summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2000-11-17 15:09:46 +0000
committerDan Kalowsky <kalowsky@php.net>2000-11-17 15:09:46 +0000
commit3e2ddd1edf98404a462af810e8e51a0994c45771 (patch)
tree30d1b15cfdd3e088361f4469c95bb77c5073be73 /ext/odbc/php_odbc.h
parent7059daa7efea8328ae72b9dac2001ade15ff8ed4 (diff)
downloadphp-git-3e2ddd1edf98404a462af810e8e51a0994c45771.tar.gz
Corrected the spelling of verion to version, and cleaned the configuration
code up a bit. Also added in much better (read: tested) support for Solid 3.0. Credit for almost all of the patch goes to Eric Veldhuyzen, minor modifications done (by me) to make it non-linux specific. This commit also creates the HAVE_SOLID_30 define @ Fixed/created support for Solid 3.0 databases (kalowsky) @ Fixed support for Solid 2.3 databases (kalowsky)
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index 4baf6a954a..9132c934eb 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -40,17 +40,20 @@
#if defined(HAVE_SOLID)
#include <cli0core.h>
#include <cli0ext1.h>
- /*the following help for SOLID 3.0 */
+ #include <cli0env.h>
+#elif defined(HAVE_SOLID_30)
+ #include <cli0cli.h>
+ #include <cli0defs.h>
#include <cli0env.h>
#elif defined(HAVE_SOLID_35)
#if !defined(PHP_WIN32)
#include <sqlunix.h>
- #endif
+ #endif /* end: #if !defined(PHP_WIN32) */
#include <sqltypes.h>
#include <sqlucode.h>
#include <sqlext.h>
#include <sql.h>
-#endif
+#endif /* end: #if defined(HAVE_SOLID) */
#undef HAVE_SQL_EXTENDED_FETCH
PHP_FUNCTION(solid_fetch_prev);
#define SQLSMALLINT SWORD