On Jul 14, 2007, at 5:48 PM, Guenter Knauf wrote:
>>> On current 32 bit systems, ints and longs are the same size: 32 bit.
>>> 200706151200 is a value that doesn't fit in 32 bits, be it int or
>>> long.
>>>
>>> 2^32 is 4294967296, and this APINO define is almost 47 times
>>> larger...
>
>> You are right, it would need to be a LONG LONG, which is not fully
>> portable. And the commit it libcurl might quite the preprocessor,
>> but doesn't really work either then.
>
> well, then lets shorten the define to 20070615 which should fit
> fine in 32 bit since we canr be sure that the previous define works
> at all, and therefore chances to break something are very small....
But that would break all other project, like PHP that use libssh2 and
are based on that define. We need to leave it as is and transfer to
the newer propose system.
Jim
-- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. ------------------------------------------------------------------------- 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/ _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2007-07-14