#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

Reply via email to