OniPlatformMacOSX.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * *
3 * PrimeSense PSCommon Library *
4 * Copyright (C) 2012 PrimeSense Ltd. *
5 * *
6 * This file is part of PSCommon. *
7 * *
8 * Licensed under the Apache License, Version 2.0 (the "License"); *
9 * you may not use this file except in compliance with the License. *
10 * You may obtain a copy of the License at *
11 * *
12 * http://www.apache.org/licenses/LICENSE-2.0 *
13 * *
14 * Unless required by applicable law or agreed to in writing, software *
15 * distributed under the License is distributed on an "AS IS" BASIS, *
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
17 * See the License for the specific language governing permissions and *
18 * limitations under the License. *
19 * *
20 *****************************************************************************/
21 #ifndef _ONI_PLATFORM_MACOSX_H_
22 #define _ONI_PLATFORM_MACOSX_H_
23 
24 // Start with Linux-x86, and override what's different
25 #include "../Linux-x86/OniPlatformLinux-x86.h"
26 
27 #include <sys/time.h>
28 
29 #undef ONI_PLATFORM
30 #undef ONI_PLATFORM_STRING
31 #define ONI_PLATFORM ONI_PLATFORM_MACOSX
32 #define ONI_PLATFORM_STRING "MacOSX"
33 
34 #define ONI_PLATFORM_HAS_NO_TIMED_OPS
35 #define ONI_PLATFORM_HAS_NO_CLOCK_GETTIME
36 #define ONI_PLATFORM_HAS_NO_SCHED_PARAM
37 #define ONI_PLATFORM_HAS_BUILTIN_SEMUN
38 
39 #undef ONI_THREAD_STATIC
40 #define ONI_THREAD_STATIC
41 
42 #endif //_ONI_PLATFORM_MACOSX_H_


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42