mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
databases/redisdesktopmanager: fix build on powerpc*
FreeBSD uses sys/endian.h for endian conversions.
This commit is contained in:
parent
31c6e4cc00
commit
3ba7c58743
@ -0,0 +1,14 @@
|
||||
--- 3rdparty/simdjson/singleheader/simdjson.h.orig 2021-09-30 06:08:20 UTC
|
||||
+++ 3rdparty/simdjson/singleheader/simdjson.h
|
||||
@@ -15748,7 +15748,11 @@ simdjson_unused simdjson_warn_unused simdjson_really_i
|
||||
#ifndef SIMDJSON_PPC64_NUMBERPARSING_H
|
||||
#define SIMDJSON_PPC64_NUMBERPARSING_H
|
||||
|
||||
+#ifdef linux
|
||||
#include <byteswap.h>
|
||||
+#elif defined(__FreeBSD__)
|
||||
+#include <sys/endian.h>
|
||||
+#endif
|
||||
|
||||
namespace simdjson {
|
||||
namespace ppc64 {
|
Loading…
Reference in New Issue
Block a user