Hi,
the runtime translator doesn't know the macro ODBCVER resulting in
incorrect compilation of the following code:
#ifdef ISQL
if ((status & Fs_ODBC) == Fs_ODBC) { /* ODBC file */
struct ISQLFile *fp;
int rc;
#if (ODBCVER >= 0x0351)
SQLLEN numrows;
#else /* ODBCVER >= 0x0351 */
SQLINTEGER numrows;
#endif /* ODBCVER >= 0x0351 */
fp = BlkLoc(x)->file.fd.sqlf;
rc = SQLRowCount(fp->hstmt, &numrows);
return C_integer(numrows);
}
#endif /* ISQL */
#passthru doesn't work here, because then the rtt complains about
redefining numrows. Any ideas on this one?
Pippijn
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group