[tor-bugs] #11426 [Tor]: Can't compile, endian.h not part of SunOS / Solaris
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 7 17:04:46 UTC 2014
#11426: Can't compile, endian.h not part of SunOS / Solaris
------------------------+--------------------------------
Reporter: Rainer | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version: Tor: 0.2.5.3-alpha
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+--------------------------------
Comment (by nickm):
Looking at sys/byteorder.h from opensolaris... couldn't you just make that
patch be...
{{{
+#elif defined(sun) || defined(__sun)
+# include <sys/byteorder.h>
+# define _le64toh(x) LE_64(x)
}}}
?
(Attaching untested patch; it's also my branch "bug11426".)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11426#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list