Get ODBC driver to work for iODBC

This commit is contained in:
whydoubt
2004-10-16 14:21:13 +00:00
parent 44fde416d4
commit 26cd3ee1ba
7 changed files with 39 additions and 26 deletions

View File

@@ -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 {