[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libssh-0.6.4 - OSX Yosemite compile error on redefinitions.


libssh-0.6.4 - OSX Yosemite compile error on redefinitions:

include/libssh/misc.h

#define htonll(x) ntohll((x))

Quick Fix:

#if defined(ntohll)
#define HAVE_NTOHLL
#endif

#if !defined(HAVE_HTONLL)
#define htonll(x) ntohll((x))
#endif

Most likely want to fix this in such a way that it does
HAVE_NTOHLL and HAVE_HTONLL defined in config.h 

so it checks if this is already defined or not automatically.

This was a quick n’ dirty solution that let me continue


-Mike & Ron. 		 	   		  

Follow-Ups:
RE: libssh-0.6.4 - OSX Yosemite compile error on redefinitions.Michael Griffin <mrmisticismo@xxxxxxxxxxx>
References:
Problem with server key verificationMichal Vaško <mvasko@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org