Archive Index
This month's Index
|
Subject: [libssh2] LIBSSH2_WIN32
[libssh2] LIBSSH2_WIN32
From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 15 Nov 2006 06:13:35 +0100
Hi all, this is my 1st post.
What is the purpose of using this define? I mean, normally
Compiling with LIBSSH2_WIN32 in MingW stopped at this horrid
#if defined(LIBSSH2_DARWIN) || (defined(LIBSSH2_WIN32) && !defined(_MSC_VER))
I think it would be better to include that file for targets known to have it.
#if defined(LIBSSH2_DARWIN) || defined(__CYGWIN__)
BTW. The statement:
#if defined(LIBSSH2_WIN32) && _MSC_VER < 1300
seems to blindly assume MSVC is the only target on Win32. Should be
#if defined(LIBSSH2_WIN32) && (defined(_MSC_VER) && _MSC_VER < 1300)
--gv
-------------------------------------------------------------------------
|