diff options
Diffstat (limited to 'ext/odbc/php3_odbc.h')
-rw-r--r-- | ext/odbc/php3_odbc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/odbc/php3_odbc.h b/ext/odbc/php3_odbc.h index 647f4de918..1a35df910e 100644 --- a/ext/odbc/php3_odbc.h +++ b/ext/odbc/php3_odbc.h @@ -77,6 +77,13 @@ PHP_FUNCTION(solid_fetch_prev); #define SQL_LEN_DATA_AT_EXEC_OFFSET (-100) #define SQL_LEN_DATA_AT_EXEC(length) (-(length)+SQL_LEN_DATA_AT_EXEC_OFFSET) +#elif HAVE_UNIXODBC /* unixODBC library */ + +#define ODBC_TYPE "unixODBC" +#include <sql.h> +#include <sqlext.h> +#define HAVE_SQL_EXTENDED_FETCH 1 + #elif HAVE_OPENLINK /* OpenLink ODBC drivers */ #define ODBC_TYPE "Openlink" |