From 510ef6460716b95d0e5a08fb5d29c8ffe2e89215 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 30 Nov 2024 18:06:24 +0100 Subject: [PATCH] Support endianness on GNU/Hurd Since it is based on GNU libc, it has as already used on e.g. Linux. --- include/savvy/portable_endian.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/savvy/portable_endian.hpp b/include/savvy/portable_endian.hpp index 359f500..9de24bd 100644 --- a/include/savvy/portable_endian.hpp +++ b/include/savvy/portable_endian.hpp @@ -13,7 +13,7 @@ #endif -#if defined(__linux__) || defined(__CYGWIN__) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) # include