Ondřej Surý
55a95f7cd7
Make <isc/endian.h> detect GNU rather than Linux
...
Instead of only supporting Linux, try making <isc/endian.h> support
other GNU platforms as well. Since some compilers define __GNUC__ on
BSDs (e.g. Clang on FreeBSD), move the relevant section to the bottom of
the platform-specific part of <isc/endian.h>, so that it only gets
evaluated when more specific platform determination criteria are not
met. Also include <byteswap.h> so that any byte-swapping macros which
may be defined in that file on older platforms are used in the fallback
definitions of the nonstandard hto[bl]e{16,32,64}() and
[bl]e{16,32,64}toh() conversion functions.
(cherry picked from commit a98c7408fc )
2019-07-22 08:09:48 -04:00
..
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2019-07-22 08:09:48 -04:00
2018-09-03 13:49:35 +02:00
2018-05-11 14:25:15 +02:00
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2019-07-22 08:09:48 -04:00
2019-05-09 18:48:06 +02:00
2019-07-22 08:09:48 -04:00
2018-09-03 13:49:35 +02:00
2018-09-03 13:49:35 +02:00
2018-08-11 11:00:50 +02:00
2019-05-10 05:03:46 +00:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-05-11 14:25:15 +02:00
2018-08-11 11:00:50 +02:00
2019-01-09 18:52:50 +11:00
2019-01-09 18:52:50 +11:00
2018-08-10 15:20:57 +02:00
2018-10-30 13:34:49 +01:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-01-09 18:52:50 +11:00
2019-03-20 11:41:51 +11:00
2018-08-10 15:20:57 +02:00
2018-11-29 15:05:17 +11:00
2018-11-08 22:02:58 +07:00
2018-08-10 15:20:57 +02:00
2019-03-05 11:04:46 -08:00
2018-05-11 14:25:15 +02:00
2018-05-11 14:25:15 +02:00
2018-11-08 22:02:58 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:02:58 +07:00
2019-07-22 08:09:48 -04:00
2019-03-20 11:41:51 +11:00
2018-12-21 09:26:50 +01:00
2018-05-11 14:25:15 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-03-14 16:40:20 -07:00
2018-08-10 15:20:57 +02:00
2018-03-14 16:40:20 -07:00
2018-11-08 22:00:49 +07:00
2018-10-25 13:20:14 +11:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-04-25 15:04:26 +02:00
2018-11-08 22:02:58 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2019-03-07 21:29:59 -08:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-07-22 08:09:48 -04:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-12-21 09:29:47 +01:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:58 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-06-11 10:19:26 +02:00
2018-08-10 15:20:57 +02:00
2018-03-14 16:40:20 -07:00
2018-09-27 13:00:05 -07:00
2018-11-08 22:02:58 +07:00
2018-05-11 14:25:15 +02:00