=================================================================== RCS file: /cvs/mandoc/Attic/config.h.post,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -u -p -r1.6.2.2 -r1.6.2.3 --- mandoc/Attic/config.h.post 2013/10/03 00:46:36 1.6.2.2 +++ mandoc/Attic/config.h.post 2013/10/10 23:43:04 1.6.2.3 @@ -19,6 +19,9 @@ # if defined(__APPLE__) # define betoh64(x) OSSwapBigToHostInt64(x) # define htobe64(x) OSSwapHostToBigInt64(x) +# elif defined(__sun) +# define betoh64(x) BE_64(x) +# define htobe64(x) BE_64(x) # else # define betoh64(x) be64toh(x) # endif