Subject: Re: MS Visual Studio 2005 Compile problem

Re: MS Visual Studio 2005 Compile problem

From: Alexander Lamaison <awl03_at_doc.ic.ac.uk>
Date: Tue, 6 Jul 2010 14:59:13 +0100

On Tuesday, July 6, 2010, Peter Stuge <peter_at_stuge.se> wrote:
> Alexander Lamaison wrote:
>> >> Line 620 uses ssize_t which looks to be typedef'ed on line 82,
>> >> but only if you have LIBSSH2_WIN32 defined...
>> >>
>> >> Can anyone see a reason why we need LIBSSH2_WIN32 _and_ _MSC_VER
>> >> and not just the latter?
>> >
>> > _MSC_VER should be enough.
>>
>> It's possible, of course, to compile a win32 version with a
>> different compiler. How will Borland, for instance, react in this case?
>
> Please test it and report. :)

I don't actually have any of these other compilers. I'm just imagining
that relying on _MSC_VER might cause problems for those who do.

Alex

--
Swish - Easy SFTP for Windows http://www.swish-sftp.org
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-07-06