Forum Post: RE: Queries from Ruby via ODBC

  • Thread starter Thread starter jhobson
  • Start date Start date
Status
Not open for further replies.
J

jhobson

Guest
I was able to get odbc.c to compile by changing: DEFS = To: DEFS2 = -DHAVE_TYPE_SQLTCHAR -DSQL_DTC_TRANSITION_COST=1750 -DSQL_DTC_ENLIST_EXPENSIVE=0x00000001L -DSQL_DTC_UNENLIST_EXPENSIVE=0x00000002L DEFS = $(DEFS2) -DSQL_CP_OFF=0UL -DSQL_CP_ONE_PER_DRIVER=1UL -DSQL_CP_ONE_PER_HENV=2UL -DSQL_CP_DEFAULT=SQL_CP_OFF Hopefully this will work for you as well. Good luck.

Continue reading...
 
Status
Not open for further replies.
Back
Top