mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 02:11:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			756 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 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__
 |