[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11426 [Tor]: Can't compile, endian.h not part of SunOS / Solaris



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs