It appears that recent versions of unixODBC defines HAVE_LONG_LONG for itself as well as SIZEOF_LONG so ezRETS doesn't need to do it in its code.  This will need to be tested in places other than ubuntu.
SQLROWSETSIZE and SQLROWOFFSET doesn't exist in 64-bit ODBC according to Microsoft. These should be SQLLEN and SQLULEN.  Other functions changed to match new call huristics that are more 32-bit/64-bit friendly.