On Sun, 11 Apr 2010, Jose Baars wrote:
>> libssh2-specific bits, so I'm gonna introduce a set of
>> LIBSSH2_SFTP_S_IS***() macros that mirror the functionality.
>>
> I thought they were POSIX defined macro's? Most C-compilers would support
> those then, wouldn't they?
Right, on most systems this isn't needed. But:
1. the struct and data libssh2 returns in libssh2_sftp_fstat_ex() is not
fully POSIX compliant which may cause subtle differences somewher
and perhaps most importantly:
2. libssh2 isn't limited to working on POSIX compliant platforms, so by
providing its own set of defines and macros applications can remain the
same when using libssh2 in a portable fashion.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-04-11