1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/openscenegraph/musl-fixes.patch
Leonardo Arena 5a87f10b5f testing/openscenegraph: new aport
High performance 3D graphics toolkit
2016-10-27 08:31:21 +00:00

22 lines
756 B
Diff

--- a/src/OpenThreads/pthreads/PThread.cpp
+++ b/src/OpenThreads/pthreads/PThread.cpp
@@ -23,7 +23,7 @@
#include <pthread.h>
#include <limits.h>
-#if defined __linux__ || defined __sun || defined __APPLE__ || ANDROID
+#if defined __GLIBC__ || defined __sun || defined __APPLE__ || ANDROID
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
--- a/src/osgPlugins/osc/osc/OscHostEndianness.h
+++ b/src/osgPlugins/osc/osc/OscHostEndianness.h
@@ -51,7 +51,7 @@
#else
- #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__)
+ #if defined(__linux__) || defined(__ANDROID__) || defined(__CYGWIN__)
#include <endian.h>
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
#ifndef __LITTLE_ENDIAN__