aboutsummaryrefslogtreecommitdiffstats
path: root/main/protobuf/musl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/protobuf/musl-fix.patch')
-rw-r--r--main/protobuf/musl-fix.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/main/protobuf/musl-fix.patch b/main/protobuf/musl-fix.patch
deleted file mode 100644
index b2de5fb5413..00000000000
--- a/main/protobuf/musl-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-seems like both musl libc and android has byteswap.h
-
---- a/src/google/protobuf/stubs/port.h
-+++ b/src/google/protobuf/stubs/port.h
-@@ -76,7 +76,7 @@
- #include <intrin.h>
- #elif defined(__APPLE__)
- #include <libkern/OSByteOrder.h>
--#elif defined(__GLIBC__) || defined(__BIONIC__) || defined(__CYGWIN__)
-+#elif defined(__linux__) || defined(__BIONIC__) || defined(__CYGWIN__)
- #include <byteswap.h> // IWYU pragma: export
- #endif
-
-@@ -240,7 +240,7 @@
- #define bswap_32(x) OSSwapInt32(x)
- #define bswap_64(x) OSSwapInt64(x)
-
--#elif !defined(__GLIBC__) && !defined(__BIONIC__) && !defined(__CYGWIN__)
-+#elif !defined(__linux__) && !defined(__BIONIC__) && !defined(__CYGWIN__)
-
- #ifndef bswap_16
- static inline uint16 bswap_16(uint16 x) {