On 27/06/07, Mitsuru Chinen <[EMAIL PROTECTED]> wrote: > I think it is a bit tricky to define "SIZE_OF_LONG_LONG" > for such purpose. How about the attached proposal patch? > Please note I haven't test it works or not, as I don't have > such an Windows environment.
I don't think this is *quite* right, since: > -#if SIZEOF_LONG != SIZEOF_LONG_LONG > +#if (SIZEOF_LONG != SIZEOF_LONG_LONG) || (defined (WIN32) && !defined > (mingw32)) relies on SIZEOF_LONG_LONG being defined. (I believe that #if tests are evaluated left to right) Better might be something like: #if defined(SIZEOF_LONG_LONG) && (SIZEOF_LONG != SIZEOF_LONG_LONG) possibly with some adjustment of the code that follows. (I haven't actually looked at this properly). Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
