mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 02:09:49 +08:00
Get ODBC driver to work for iODBC
This commit is contained in:
@@ -22,16 +22,12 @@
|
||||
#include <mdbtools.h>
|
||||
#include <mdbsql.h>
|
||||
|
||||
#ifdef UNIXODBC
|
||||
#include <sql.h>
|
||||
#include <sqlext.h>
|
||||
#include <odbcinst.h>
|
||||
#elif defined(MDB_NO_DM)
|
||||
#include <sql.h>
|
||||
#include <sqlext.h>
|
||||
#else /* IODBC */
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
#if defined(UNIXODBC)
|
||||
# include <odbcinst.h>
|
||||
#elif defined(IODBC)
|
||||
# include <iodbcinst.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -40,7 +36,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
static char rcsid_sql_h [ ] =
|
||||
"$Id: mdbodbc.h,v 1.3 2004/03/04 21:25:09 brianb Exp $";
|
||||
"$Id: mdbodbc.h,v 1.4 2004/10/16 14:21:15 whydoubt Exp $";
|
||||
static void *no_unused_sql_h_warn[]={rcsid_sql_h, no_unused_sql_h_warn};
|
||||
|
||||
struct _henv {
|
||||
|
||||
Reference in New Issue
Block a user