[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: libssh-0.6.4 - OSX Yosemite compile error on redefinitions.
[Thread Prev] | [Thread Next]
- Subject: RE: libssh-0.6.4 - OSX Yosemite compile error on redefinitions.
- From: Michael Griffin <mrmisticismo@xxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 15 Jan 2015 16:12:17 -0600
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Sorry, Hotmail formatting not the Best.<BR>Created bug report <a href="https://red.libssh.org/issues/182">https://red.libssh.org/issues/182</a><BR> <BR>libssh-0.6.4 - OSX Yosemite compile error on redefinitions:<BR> <br/>include/libssh/misc.h <br/> <br/>#define htonll(x) ntohll((x)) <br/> <br/>Quick Fix: <br/>#ifdefined(ntohll) <br/>#define HAVE_NTOHLL <br/>#endif <br/>#if !defined(HAVE_HTONLL) <br/>#define htonll(x) ntohll((x)) <br/>#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 building. <BR>
Problem with server key verification | Michal Vaško <mvasko@xxxxxxxxx> |
libssh-0.6.4 - OSX Yosemite compile error on redefinitions. | Michael Griffin <mrmisticismo@xxxxxxxxxxx> |