commit | 5f6e9054b920b9952baa9860c6ead1039c66e940 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 20 06:29:59 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 26 07:15:57 2016 +0200 |
tree | cb73feaa7f40782626f838e0bddf5b15b693320c | |
parent | f2ebcb47cbf2af36236fde807c0c21a22d7c1e79 [diff] |
BUILD: fix build on Solaris 11 htonll()/ntohll() already exist on Solaris 11 with a different declaration, causing a build error as reported by Jonathan Fisher. They used to exist on OSX with a #define which allowed us to detect them. It was a bad idea to give these functions a name subject to conflicts like this. Simply rename them my_htonll()/my_ntohll() to definitely get rid of the conflict. This patch must be backported to 1.6.