mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
They where packaged from the same source, one using the upstream Android library name, the other the new project name. Lets combine them into one.
16 lines
418 B
Diff
16 lines
418 B
Diff
diff --git a/pico/lib/picopltf.h b/pico/lib/picopltf.h
|
|
index 9b7cffd..f0f129b 100644
|
|
--- a/pico/lib/picopltf.h
|
|
+++ b/pico/lib/picopltf.h
|
|
@@ -70,6 +70,10 @@
|
|
#define __BYTE_ORDER _BYTE_ORDER
|
|
#define __BIG_ENDIAN _BIG_ENDIAN
|
|
#include <sys/endian.h>
|
|
+#elif (PICO_PLATFORM == PICO_MacOSX)
|
|
+#define __BYTE_ORDER BYTE_ORDER
|
|
+#define __BIG_ENDIAN BIG_ENDIAN
|
|
+#include <machine/endian.h>
|
|
#else
|
|
#include <endian.h>
|
|
#endif
|