Subject: [libssh2] #237: configure -DLIBSSH2_WIN32 @cygwin

[libssh2] #237: configure -DLIBSSH2_WIN32 @cygwin

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Mon, 14 May 2012 17:53:23 -0000

#237: configure -DLIBSSH2_WIN32 @cygwin
------------------------------+--------------------
 Reporter: flederwiesel | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.0
Component: misc | Version: 1.3.0
 Keywords: cygwin configure | Blocked By:
   Blocks: |
------------------------------+--------------------
 The configure script wrongly defines -DLIBSSH2_WIN32 for cygwin, which
 leads to _libssh2_gettimeofday() being defined, which is not needed, since
 cygwin has its own gettimeofday() and - what is worse - does not compile,
 if you do not provide win32 api FILETIME and GetSystemTimeAsFileTime().

 A patch, which at least worked for my configuration, is attached.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/237>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-14