Go to the documentation of this file.
25 #define ONI_PLATFORM_WIN32 1
26 #define ONI_PLATFORM_LINUX_X86 2
27 #define ONI_PLATFORM_LINUX_ARM 3
28 #define ONI_PLATFORM_MACOSX 4
29 #define ONI_PLATFORM_ANDROID_ARM 5
34 # error OpenNI Platform Abstraction Layer - Win32 - Microsoft Visual Studio version below 2003 (7.0) are not supported!
38 #elif defined (ANDROID) && (__arm__|| __aarch64__)
40 #elif (__linux__ && (__i386__ || __x86_64__))
42 #elif (__linux__ && (__arm__ || __aarch64__))
45 # include "ARC/OniPlaformARC.h"
49 # error Xiron Platform Abstraction Layer - Unsupported Platform!
53 # define ONI_C extern "C"
54 # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT
55 # define ONI_C_API_IMPORT ONI_C ONI_API_IMPORT
56 # define ONI_CPP_API_EXPORT ONI_API_EXPORT
57 # define ONI_CPP_API_IMPORT ONI_API_IMPORT
59 # define ONI_C_API_EXPORT ONI_API_EXPORT
60 # define ONI_C_API_IMPORT ONI_API_IMPORT
64 # define ONI_C_API ONI_C_API_EXPORT
65 # define ONI_CPP_API ONI_CPP_API_EXPORT
66 #else // OPENNI2_EXPORT
67 # define ONI_C_API ONI_C_API_IMPORT
68 # define ONI_CPP_API ONI_CPP_API_IMPORT
69 #endif // OPENNI2_EXPORT
72 #endif // ONIPLATFORM_H