You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/OpenNI/files/betterdefines.patch

17 lines
670 B

Index: OpenNI-Stable-1.5.7.10/Include/XnPlatform.h
===================================================================
--- OpenNI-Stable-1.5.7.10.orig/Include/XnPlatform.h
+++ OpenNI-Stable-1.5.7.10/Include/XnPlatform.h
@@ -61,9 +61,9 @@
#include "Win32/XnPlatformWin32.h"
#elif defined(ANDROID) && defined(__arm__)
#include "Android-Arm/XnPlatformAndroid-Arm.h"
-#elif (linux && (i386 || __x86_64__))
+#elif (defined(__linux__) && (i386 || __x86_64__))
#include "Linux-x86/XnPlatformLinux-x86.h"
-#elif (linux && __arm__)
+#elif (defined(__linux__) && __arm__)
#include "Linux-Arm/XnPlatformLinux-Arm.h"
#elif _ARC
#include "ARC/XnPlatformARC.h"