Skip to content

Commit

Permalink
Adapt portable_endian.hpp for GNU/Hurd (#149)
Browse files Browse the repository at this point in the history
Use <endian.h>, as available from GNU libc.
  • Loading branch information
pinotree committed Aug 13, 2023
1 parent 0e1443a commit a03c6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/lazperf/portable_endian.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// use standard posix style headers for apple emscripten builds as well since emscripten sdk now ships its own
// libc headers
#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__)
#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__) || defined(__GNU__)

# include <endian.h>

Expand Down

0 comments on commit a03c6ce

Please sign in to comment.